diff options
| author | 2025-06-14 00:17:32 +0200 | |
|---|---|---|
| committer | 2025-06-14 00:17:32 +0200 | |
| commit | 8c60ad8bf551361c97861dad87d9c50c0367fe77 (patch) | |
| tree | b5d1b1e394226cde476014d04e04cf9ce728c891 /docs | |
| parent | b88632c4837367d4eca7e3746b011f4cf2a5901f (diff) | |
| download | libimobiledevice-8c60ad8bf551361c97861dad87d9c50c0367fe77.tar.gz libimobiledevice-8c60ad8bf551361c97861dad87d9c50c0367fe77.tar.bz2 | |
idevicesyslog: Add 'pidlist' and 'archive' commands
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/idevicesyslog.1 | 34 |
1 files changed, 29 insertions, 5 deletions
diff --git a/docs/idevicesyslog.1 b/docs/idevicesyslog.1 index 0345bff..cb91193 100644 --- a/docs/idevicesyslog.1 +++ b/docs/idevicesyslog.1 | |||
| @@ -42,17 +42,41 @@ Force writing colored output, e.g. when using \f[B]\-\-output\f[]. | |||
| 42 | .B \-\-syslog_relay | 42 | .B \-\-syslog_relay |
| 43 | Use old syslog_relay service instead of os_trace_relay (iOS 9+). | 43 | Use old syslog_relay service instead of os_trace_relay (iOS 9+). |
| 44 | 44 | ||
| 45 | .SH COMMANDS | ||
| 46 | .TP | ||
| 47 | .B pidlist | ||
| 48 | Print a list with PID and name of all processes currently running on the device. | ||
| 49 | .TP | ||
| 50 | .B archive PATH | ||
| 51 | Request a logarchive from the device. It will be written in tar format to PATH. To pipe to another process use \- as PATH. | ||
| 52 | Below are some options to restrict the log message data. | ||
| 53 | |||
| 54 | In order to view the logarchive in a compatible log viewer, you can pipe the output data to \f[B]tar\f[] and have it extract into a new directory: | ||
| 55 | |||
| 56 | \f[B]mkdir test.logarchive && tools/idevicesyslog archive - |tar -C test.logarchive -xv\f[] | ||
| 57 | |||
| 58 | This will also print the filenames while they are extracted. | ||
| 59 | .TP | ||
| 60 | Further options for \f[B]archive\f[]: | ||
| 61 | .TP | ||
| 62 | .B \-\-start\-time VALUE | ||
| 63 | Start time of the log data as UNIX timestamp. Earlier messages will be dropped. | ||
| 64 | .TP | ||
| 65 | .B \-\-age\-limit VALUE | ||
| 66 | Maximum age of the log data, supposedly number of days. | ||
| 67 | .TP | ||
| 68 | .B \-\-size\-limit VALUE | ||
| 69 | Limit the size of the archive. The unit is currently unknown, so feel free to experiment. | ||
| 70 | .TP | ||
| 71 | Keep in mind that the device usually only has a backlog of a few minutes so the options might not have the desired effect. This is not a bug. | ||
| 72 | |||
| 45 | .SH FILTER OPTIONS | 73 | .SH FILTER OPTIONS |
| 46 | .TP | 74 | .TP |
| 47 | .B \-m, \-\-match STRING | 75 | .B \-m, \-\-match STRING |
| 48 | only print messages that contain STRING | 76 | only print messages that contain STRING |
| 49 | |||
| 50 | .SH FILTER OPTIONS | ||
| 51 | .TP | 77 | .TP |
| 52 | .B \-M, \-\-unmatch STRING | 78 | .B \-M, \-\-unmatch STRING |
| 53 | print messages that not contain STRING | 79 | print messages that do not contain STRING |
| 54 | |||
| 55 | This option will set a filter to only printed log messages that contain the given string. | ||
| 56 | .TP | 80 | .TP |
| 57 | .B \-t, \-\-trigger STRING | 81 | .B \-t, \-\-trigger STRING |
| 58 | start logging when matching STRING | 82 | start logging when matching STRING |
