DaemonForums  

Go Back   DaemonForums > DaemonForums.org > News

News News regarding BSD and related.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 6th September 2022
J65nko J65nko is online now
Administrator
 
Join Date: May 2008
Location: Budel - the Netherlands
Posts: 4,131
Default ps(1) gains support for tree-like display of processes

From https://undeadly.org/cgi?action=arti...20220902085038
Quote:
Following a discussion on tech@, Job Snijders (job@), committed to ps(1) support for displaying the parent/child hierarchy of processes as an ASCII art tree
An example of the output:
Code:
$ ps ad -O ppid,user
      PID  PPID USER     TT  STAT        TIME COMMAND
    18180 12529 job      pb  I+p      0:00.01 `-- -sh (sh)
    26689 56460 job      p3  Ip       0:00.01   `-- -ksh (ksh)
     5153 26689 job      p3  I+p      0:40.18     `-- mutt
    62046 25272 job      p4  Sp       0:00.25   `-- -ksh (ksh)
    61156 62046 job      p4  R+/0     0:00.00     `-- ps -ad -O ppid
    26816  2565 job      p5  Ip       0:00.01   `-- -ksh (ksh)
    79431 26816 root     p5  Ip       0:00.16     `-- /bin/ksh
    43915 79431 _rpki-cl p5  S+pU     0:06.97       `-- rpki-client
    70511 43915 _rpki-cl p5  I+pU     0:01.26         |-- rpki-client: parser (rpki-client)
    96992 43915 _rpki-cl p5  I+pU     0:00.00         |-- rpki-client: rsync (rpki-client)
    49160 43915 _rpki-cl p5  S+p      0:01.52         |-- rpki-client: http (rpki-client)
    99329 43915 _rpki-cl p5  S+p      0:03.20         `-- rpki-client: rrdp (rpki-client)
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
hide processes to ohter user ? bsdcord OpenBSD Security 2 21st April 2019 12:38 PM
Lightspark open source Flash player gains PowerPC support J65nko News 10 26th December 2010 05:47 PM
Berkeley DB gains a SQL API J65nko News 0 23rd March 2010 10:37 PM
See processes on other servers? biscuits FreeBSD General 2 20th January 2009 04:15 AM
chmods for users & hiding processes mike OpenBSD Security 2 12th June 2008 04:15 PM


All times are GMT. The time now is 07:24 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick