-
Notifications
You must be signed in to change notification settings - Fork 49
/
Copy path03.report.process.shell.txt
39 lines (28 loc) · 1.93 KB
/
03.report.process.shell.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
// list ...
ps aux
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 0.1 0.1 225476 9404 ? Ss Thg 505 0:21 /sbin/init sp
root 2 0.0 0.0 0 0 ? S Thg 505 0:00 [kthreadd]
root 3 0.0 0.0 0 0 ? I< Thg 505 0:00 [rcu_gp]
root 4 0.0 0.0 0 0 ? I< Thg 505 0:00 [rcu_par_gp]
root 6 0.0 0.0 0 0 ? I< Thg 505 0:00 [kworker/0:0H
root 8 0.0 0.0 0 0 ? I< Thg 505 0:00 [mm_percpu_wq
root 9 0.0 0.0 0 0 ? S Thg 505 0:00 [ksoftirqd/0]
root 10 0.1 0.0 0 0 ? I Thg 505 0:18 [rcu_sched]
// gnome-calculator
huannguyen2008@huannguyen2008-HP-ENVY-Laptop-13-ah0xxx:~$ gnome-calculator
utils.go:684: cannot change mount namespace of snap "gnome-calculator" according to change mount (/snap/gtk-common-themes/818/share/icons/Suru /snap/gnome-calculator/260/data-dir/icons/Suru none bind,ro 0 0): cannot use "/snap/gtk-common-themes/818/share/icons/Suru" as bind-mount source: not a directory
Fontconfig warning: "/etc/fonts/conf.avail/53-monospace-lcd-filter.conf", line 10: Having multiple values in <test> isn't supported and may not work as expected
// find id ...
huannguyen2008@huannguyen2008-HP-ENVY-Laptop-13-ah0xxx:~$ ps aux| grep "gnome-calculator"
huanngu+ 5290 0.1 0.7 875120 56960 pts/1 Sl+ 10:14 0:01 gnome-calculator
huanngu+ 5658 0.0 0.0 23076 1148 pts/2 S+ 10:26 0:00 grep --color=auto gnome-calculator
// status ...
huannguyen2008@huannguyen2008-HP-ENVY-Laptop-13-ah0xxx:~$ cat /proc/5290/status
Name: gnome-calculato
Umask: 0022
State: S (sleeping)
// manipulate it ...
huannguyen2008@huannguyen2008-HP-ENVY-Laptop-13-ah0xxx:~$ kill -STOP 5290
huannguyen2008@huannguyen2008-HP-ENVY-Laptop-13-ah0xxx:~$ kill -CONT 5290
huannguyen2008@huannguyen2008-HP-ENVY-Laptop-13-ah0xxx:~$ kill -KILL 5290