You are not logged in.

#1 2007-12-31 15:44:40

peets
Member
From: Montreal
Registered: 2007-01-11
Posts: 936
Website

A fun way to learn about your computer

I just read about the 'forest' view of the 'ps' command.

[peets@boltzmann ~]$ ps -eH
  PID TTY          TIME CMD
    2 ?        00:00:00 kthreadd
    3 ?        00:00:00   migration/0
    4 ?        00:00:00   ksoftirqd/0
    5 ?        00:00:00   watchdog/0
    6 ?        00:00:00   migration/1
    7 ?        00:00:00   ksoftirqd/1
    8 ?        00:00:00   watchdog/1
    9 ?        00:00:00   events/0
   10 ?        00:00:00   events/1
   11 ?        00:00:00   khelper
   47 ?        00:00:00   kblockd/0
   48 ?        00:00:00   kblockd/1
   51 ?        00:00:00   kacpid
   52 ?        00:00:00   kacpi_notify
  192 ?        00:00:00   kseriod
  230 ?        00:00:03   pdflush
  231 ?        00:00:04   pdflush
  232 ?        00:00:03   kswapd0
  285 ?        00:00:00   aio/0
  286 ?        00:00:00   aio/1
  376 ?        00:00:00   khvcd
  438 ?        00:00:00   rpciod/0
  439 ?        00:00:00   rpciod/1
  450 ?        00:00:14   ata/0
  451 ?        00:00:02   ata/1
  452 ?        00:00:00   ata_aux
  457 ?        00:00:00   scsi_eh_0
  459 ?        00:00:00   scsi_eh_1
  474 ?        00:00:00   scsi_eh_2
  476 ?        00:00:00   scsi_eh_3
  483 ?        00:00:00   scsi_eh_4
  485 ?        00:00:00   scsi_eh_5
  493 ?        00:00:00   scsi_eh_6
  495 ?        00:00:00   scsi_eh_7
  959 ?        00:00:00   ksuspend_usbd
 1002 ?        00:00:00   khubd
 1818 ?        00:00:01   kjournald
 1900 ?        00:00:02   kondemand/0
 1901 ?        00:00:01   kondemand/1
 5021 ?        00:00:00   kpsmoused
 5650 ?        00:00:00   khpsbpkt
 6531 ?        00:00:06   kjournald
    1 ?        00:00:01 init
 1865 ?        00:00:00   udevd
 6830 ?        00:00:05   syslog-ng
 6854 ?        00:00:15   dhcpcd
 6870 ?        00:00:00   crond
 6894 ?        00:00:01   mpd
 6897 ?        00:00:36     mpd
 6898 ?        00:04:35       mpd
 6899 tty1     00:00:00   login
 6915 tty1     00:00:00     bash
 2377 tty1     00:00:00       startx
 2393 tty1     00:00:00         xinit
 2394 tty7     00:00:08           X
 2399 tty1     00:00:00           pekwm
 6901 tty3     00:00:00   agetty
 6902 tty4     00:00:00   agetty
 6903 tty5     00:00:00   agetty
 6904 tty6     00:00:00   agetty
17816 tty2     00:00:00   login
 4965 tty2     00:00:00     bash
10522 tty2     00:00:00       startx
10539 tty2     00:00:00         xinit
10540 tty8     00:02:36           X
10545 tty2     00:00:00           pekwm
10556 ?        00:09:40             deluge
10553 ?        00:00:06   urxvt
10555 pts/5    00:00:00     bash
10563 ?        00:00:00   dbus-launch
10564 ?        00:00:00   dbus-daemon
 2337 ?        00:00:00   urxvt
 2338 pts/0    00:00:00     bash
 2402 ?        00:00:00   xbindkeys
 2409 ?        00:00:00   urxvt
 2410 pts/1    00:00:00     bash
 2463 pts/1    00:00:00       gv
 2465 pts/1    00:00:03         gs
 2414 ?        00:00:00   firefox
 2418 ?        00:00:00     run-mozilla.sh
 2423 ?        00:00:55       firefox-bin
 2483 ?        00:00:00   urxvt
 2484 pts/2    00:00:00     bash
 2489 pts/2    00:00:00       screen
 2490 ?        00:00:00         screen
 2491 pts/3    00:00:00           bash
 2492 pts/3    00:00:00             top
 2493 pts/4    00:00:00           bash
 2494 pts/4    00:00:00             vi
 2496 ?        00:00:00   urxvt
 2497 pts/6    00:00:00     bash
 2519 pts/6    00:00:00       ps

Somehow 'ps' now makes more sense. And, using the power of the internet (and man), I can find out about all those kernel threads (or not) and those other programs running that I never knew about.

Offline

#2 2007-12-31 16:04:44

dhave
Arch Linux f@h Team Member
From: Outside the matrix.
Registered: 2005-05-15
Posts: 1,112

Re: A fun way to learn about your computer

Hmmm .... Are you sure there's no credit card information listed in there somewhere? hmm


Donate to Arch!

Tired? There's a nap for that. --anonymous

Offline

#3 2007-12-31 16:41:54

Mikko777
Member
From: Suomi, Finland
Registered: 2006-10-30
Posts: 837

Re: A fun way to learn about your computer

looks alot like what you get from htop, and I "vehemently" disagree on the "fun" part big_smile

Offline

#4 2008-01-01 11:04:03

schivmeister
Developer/TU
From: Singapore
Registered: 2007-05-17
Posts: 971
Website

Re: A fun way to learn about your computer

exactly what ksysguard uses..useful indeed.

Last edited by schivmeister (2008-01-01 11:04:32)


I need real, proper pen and paper for this.

Offline

#5 2008-01-03 02:56:18

peets
Member
From: Montreal
Registered: 2007-01-11
Posts: 936
Website

Re: A fun way to learn about your computer

Mikko777 wrote:

looks alot like what you get from htop, and I "vehemently" disagree on the "fun" part big_smile

Yeah, it was just a trick. Edutainment is a mistake.

But you should also take into consideration that I am a nerd, and for a moment there, it seemed fun. I look back with a hint of shame now.

Offline

Board footer

Powered by FluxBB