Update screenshot
@@ -65,7 +65,7 @@ Type `procs` only. It shows the information of all processes.
|
||||
$ procs
|
||||
```
|
||||
|
||||

|
||||

|
||||
|
||||
### Search by non-numeric keyword
|
||||
|
||||
@@ -75,7 +75,7 @@ If you add any keyword as argument, it is matched to `USER`, `Command`, `Docker`
|
||||
$ procs zsh
|
||||
```
|
||||
|
||||

|
||||

|
||||
|
||||
### Search by numeric keyword
|
||||
|
||||
@@ -86,7 +86,7 @@ Numeric is treated as exact match, and non-numeric is treated as partial match b
|
||||
$ procs --or 6000 60000 60001 16723
|
||||
```
|
||||
|
||||

|
||||

|
||||
|
||||
Note that procfs permissions only allow identifying listening ports for processes owned by the current user, so not all ports will show up unless run as root.
|
||||
|
||||
@@ -109,7 +109,7 @@ If you have access permission to docker daemon ( `unix:///var/run/docker.sock` )
|
||||
$ procs growi
|
||||
```
|
||||
|
||||

|
||||

|
||||
|
||||
Note that procs gets the container information through UNIX domain socket, so [Docker Toolbox](https://docs.docker.com/toolbox/) on macOS ( doesn't use UNIX domain socket ) is not supported.
|
||||
[Docker Desktop for Mac](https://docs.docker.com/docker-for-mac/) is supported but not tested.
|
||||
@@ -128,6 +128,12 @@ The update interval can be specified by the option argument.
|
||||
|
||||
If `--tree` option is used, processes are sorted by dependency order and dependency tree is shown at left side.
|
||||
|
||||
```console
|
||||
$ procs --tree
|
||||
```
|
||||
|
||||

|
||||
|
||||
### Sort column
|
||||
|
||||
Column sort order can be changed by `--sorta` or `--sortd` option.
|
||||
@@ -141,6 +147,12 @@ The keyword is matched partially and case is ignored.
|
||||
|
||||
The default sort is specified by `[sort]` section in the [configuration file](#configuration).
|
||||
|
||||
```console
|
||||
$ procs --sortd cpu
|
||||
```
|
||||
|
||||

|
||||
|
||||
### Insert column
|
||||
|
||||
`--insert` option inserts new column to the position of `Slot` column.
|
||||
|
||||
|
Before Width: | Height: | Size: 157 KiB After Width: | Height: | Size: 210 KiB |
|
Before Width: | Height: | Size: 30 KiB After Width: | Height: | Size: 44 KiB |
|
Before Width: | Height: | Size: 30 KiB After Width: | Height: | Size: 38 KiB |
|
After Width: | Height: | Size: 210 KiB |
|
After Width: | Height: | Size: 233 KiB |
|
Before Width: | Height: | Size: 224 KiB After Width: | Height: | Size: 281 KiB |