summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2025-06-14 00:17:32 +0200
committerGravatar Nikias Bassen2025-06-14 00:17:32 +0200
commit8c60ad8bf551361c97861dad87d9c50c0367fe77 (patch)
treeb5d1b1e394226cde476014d04e04cf9ce728c891 /docs
parentb88632c4837367d4eca7e3746b011f4cf2a5901f (diff)
downloadlibimobiledevice-8c60ad8bf551361c97861dad87d9c50c0367fe77.tar.gz
libimobiledevice-8c60ad8bf551361c97861dad87d9c50c0367fe77.tar.bz2
idevicesyslog: Add 'pidlist' and 'archive' commands
Diffstat (limited to 'docs')
-rw-r--r--docs/idevicesyslog.134
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
43Use old syslog_relay service instead of os_trace_relay (iOS 9+). 43Use old syslog_relay service instead of os_trace_relay (iOS 9+).
44 44
45.SH COMMANDS
46.TP
47.B pidlist
48Print a list with PID and name of all processes currently running on the device.
49.TP
50.B archive PATH
51Request a logarchive from the device. It will be written in tar format to PATH. To pipe to another process use \- as PATH.
52Below are some options to restrict the log message data.
53
54In 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
58This will also print the filenames while they are extracted.
59.TP
60Further options for \f[B]archive\f[]:
61.TP
62.B \-\-start\-time VALUE
63Start time of the log data as UNIX timestamp. Earlier messages will be dropped.
64.TP
65.B \-\-age\-limit VALUE
66Maximum age of the log data, supposedly number of days.
67.TP
68.B \-\-size\-limit VALUE
69Limit the size of the archive. The unit is currently unknown, so feel free to experiment.
70.TP
71Keep 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
48only print messages that contain STRING 76only print messages that contain STRING
49
50.SH FILTER OPTIONS
51.TP 77.TP
52.B \-M, \-\-unmatch STRING 78.B \-M, \-\-unmatch STRING
53print messages that not contain STRING 79print messages that do not contain STRING
54
55This 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
58start logging when matching STRING 82start logging when matching STRING