display PID and Thread ID details | ps -Tfp 82199
root@ubuntu:/home/awsc1/linuxlessons/linuxscripts# bash sleeppid.sh &
[1] 82199
root@ubuntu:/home/awsc1/linuxlessons/linuxscripts# Hello
PID is 82199
(reverse-i-search)`ps': ^C -fp 82157
root@ubuntu:/home/awsc1/linuxlessons/linuxscripts# ps -Tfp 82199
UID PID SPID PPID C STIME TTY TIME CMD
root 82199 82199 81460 0 12:46 pts/0 00:00:00 bash sleeppid.sh
[1] 82199
root@ubuntu:/home/awsc1/linuxlessons/linuxscripts# Hello
PID is 82199
(reverse-i-search)`ps': ^C -fp 82157
root@ubuntu:/home/awsc1/linuxlessons/linuxscripts# ps -Tfp 82199
UID PID SPID PPID C STIME TTY TIME CMD
root 82199 82199 81460 0 12:46 pts/0 00:00:00 bash sleeppid.sh
Comments
Post a Comment