OpenVZ Forum


Home » General » Support » pstree with 2.6.20
pstree with 2.6.20 [message #16347] Sat, 01 September 2007 22:51 Go to next message
MaFL is currently offline  MaFL
Messages: 14
Registered: November 2006
Location: Germany
Junior Member

pstree command is not working for me with the 2.6.20 dev kernels?

It only shows the init process

saturn:/# pstree
init


Anyone has an idea?

Regards Matt
Re: pstree with 2.6.20 [message #16349 is a reply to message #16347] Sat, 01 September 2007 23:03 Go to previous messageGo to next message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

Is that in host system or inside a VE?
Which distro is installed?
What is pstree version?
What does ps axf shows?


Kir Kolyshkin
http://static.openvz.org/userbars/openvz-developer.png
Re: pstree with 2.6.20 [message #16350 is a reply to message #16349] Sat, 01 September 2007 23:15 Go to previous messageGo to next message
MaFL is currently offline  MaFL
Messages: 14
Registered: November 2006
Location: Germany
Junior Member

1. both, hosts & ve
2. debian etch amd64 (if I remember correctly i386 was the same, but have to test)
3. pstree (PSmisc) 22.3
4.
saturn:~# ps axf 
  PID TTY      STAT   TIME COMMAND
    1 ?        Ss     0:02 init [2]  
    2 ?        S      0:00 [migration/0/0]
    3 ?        SN     0:00 [ksoftirqd/0]
    4 ?        S      0:00 [migration/0/1]
    5 ?        SN     0:00 [ksoftirqd/1]
    6 ?        S      0:00 [migration/0/2]
    7 ?        SN     0:00 [ksoftirqd/2]
    8 ?        S      0:00 [migration/0/3]
    9 ?        SN     0:00 [ksoftirqd/3]
   10 ?        S      0:00 [migration/0/4]
   11 ?        SN     0:00 [ksoftirqd/4]
   12 ?        S      0:00 [migration/0/5]
   13 ?        SN     0:00 [ksoftirqd/5]
   14 ?        S      0:00 [migration/0/6]
   15 ?        SN     0:00 [ksoftirqd/6]
   16 ?        S      0:00 [migration/0/7]
   17 ?        SN     0:00 [ksoftirqd/7]
   18 ?        S<     0:00 [events/0]
   19 ?        S<     0:00 [events/1]
   20 ?        S<     0:00 [events/2]
   21 ?        S<     0:00 [events/3]
   22 ?        S<     0:00 [events/4]
   23 ?        S<     0:00 [events/5]
   24 ?        S<     0:00 [events/6]
   25 ?        S<     0:00 [events/7]
   26 ?        S<     0:00 [khelper]
   27 ?        S<     0:00 [kthread]
   74 ?        S<     0:00  \_ [kblockd/0]
   75 ?        S<     0:00  \_ [kblockd/1]
   76 ?        S<     0:00  \_ [kblockd/2]
   77 ?        S<     0:00  \_ [kblockd/3]
   78 ?        S<     0:00  \_ [kblockd/4]
   79 ?        S<     0:00  \_ [kblockd/5]
   80 ?        S<     0:00  \_ [kblockd/6]
   81 ?        S<     0:00  \_ [kblockd/7]
   82 ?        S<     0:00  \_ [kacpid]
  219 ?        S<     0:00  \_ [cqueue/0]
  220 ?        S<     0:00  \_ [cqueue/1]
  221 ?        S<     0:00  \_ [cqueue/2]
  222 ?        S<     0:00  \_ [cqueue/3]
  223 ?        S<     0:00  \_ [cqueue/4]
  224 ?        S<     0:00  \_ [cqueue/5]
  225 ?        S<     0:00  \_ [cqueue/6]
  226 ?        S<     0:00  \_ [cqueue/7]
  227 ?        S<     0:00  \_ [ksuspend_usbd]
  230 ?        S<     0:00  \_ [khubd]
  232 ?        S<     0:00  \_ [kseriod]
  313 ?        S      0:00  \_ [pdflush]
  314 ?        S      0:00  \_ [pdflush]
  315 ?        S<     0:00  \_ [kswapd0]
  316 ?        S<     0:00  \_ [aio/0]
  317 ?        S<     0:00  \_ [aio/1]
  318 ?        S<     0:00  \_ [aio/2]
  319 ?        S<     0:00  \_ [aio/3]
  320 ?        S<     0:00  \_ [aio/4]
  321 ?        S<     0:00  \_ [aio/5]
  322 ?        S<     0:00  \_ [aio/6]
  323 ?        S<     0:00  \_ [aio/7]
  995 ?        S<     0:00  \_ [kpsmoused]
 1219 ?        S<     0:00  \_ [scsi_eh_0]
 2032 ?        S<     0:00  \_ [scsi_eh_1]
 2033 ?        S<     0:00  \_ [usb-storage]
 2036 ?        S<     0:00  \_ [scsi_eh_2]
 2037 ?        S<     0:00  \_ [usb-storage]
 2396 ?        S<     0:00  \_ [kjournald]
 3950 ?        S<     0:00  \_ [kmirrord]
 3963 ?        S<     0:00  \_ [ksnapd]
 4048 ?        S<     0:00  \_ [kjournald]
 4993 ?        S<     0:00  \_ [migration/500/0]
 4994 ?        S<     0:00  \_ [migration/500/1]
 4995 ?        S<     0:00  \_ [migration/500/2]
 4996 ?        S<     0:00  \_ [migration/500/3]
 4997 ?        S<     0:00  \_ [migration/500/4]
 4998 ?        S<     0:00  \_ [migration/500/5]
 4999 ?        S<     0:00  \_ [migration/500/6]
 5000 ?        S<     0:00  \_ [migration/500/7]
 5064 ?        S<     0:00  \_ [migration/501/0]
 5065 ?        S<     0:00  \_ [migration/501/1]
 5066 ?        S<     0:00  \_ [migration/501/2]
 5067 ?        S<     0:00  \_ [migration/501/3]
 5068 ?        S<     0:00  \_ [migration/501/4]
 5069 ?        S<     0:00  \_ [migration/501/5]
 5070 ?        S<     0:00  \_ [migration/501/6]
 5071 ?        S<     0:00  \_ [migration/501/7]
  311 ?        S      0:00 [ubstatd]
 2633 ?        S<s    0:10 udevd --daemon
 4103 ?        Ss     0:00 /sbin/portmap
 4327 ?        Ss     0:00 /sbin/syslogd
 4340 ?        Ss     0:00 /sbin/klogd -x
 4435 ?        Ss     0:00 /usr/sbin/acpid -c /etc/acpi/events -s /var/run/acpid.socket
 4492 ?        Ss     0:00 /usr/sbin/exim4 -bd -q30m
 4504 ?        Ss     0:00 /usr/sbin/inetd
 4527 ?        Ss     0:00 /usr/sbin/sshd
 6074 ?        Ss     0:00  \_ sshd: root@pts/0 
 6076 pts/0    Ss     0:00  |   \_ -bash
 6321 pts/0    R+     0:00  |       \_ ps axf
 6147 ?        Ss     0:00  \_ sshd: root@pts/1 
 6149 pts/1    Ss+    0:00      \_ -bash
 4834 ?        S      0:00 [vzmond]
 4992 ?        Ss     0:00 init [2]      
 5382 ?        Ss     0:00  \_ /sbin/syslogd
 6015 ?        Ss     0:00  \_ /usr/sbin/sshd
 6030 ?        Ss     0:00  \_ /usr/sbin/cron
 6042 ?        Ss     0:00  \_ /usr/sbin/apache2 -k start
 6064 ?        S      0:00      \_ /usr/sbin/apache2 -k start
 6065 ?        S      0:00      \_ /usr/sbin/apache2 -k start
 6066 ?        S      0:00      \_ /usr/sbin/apache2 -k start
 6067 ?        S      0:00      \_ /usr/sbin/apache2 -k start
 6068 ?        S      0:00      \_ /usr/sbin/apache2 -k start
 5063 ?        Ss     0:00 init [2]      
 5844 ?        Ss     0:00  \_ /sbin/syslogd
 5875 ?        S      0:00  \_ /var/ossec/bin/ossec-execd
 5879 ?        S      0:00  \_ /var/ossec/bin/ossec-agentd
 5883 ?        S      0:00  \_ /var/ossec/bin/ossec-logcollector
 5887 ?        S      0:01  \_ /var/ossec/bin/ossec-syscheckd
 5895 ?        Ss     0:00  \_ /usr/sbin/sshd
 5910 ?        Ss     0:00  \_ /usr/sbin/cron
 5481 ?        Ss     0:00 /sbin/rpc.statd
 5512 ?        Ss     0:00 /usr/sbin/atd
 5524 ?        Ss     0:00 /usr/sbin/cron
 5565 tty1     Ss+    0:00 /sbin/getty 38400 tty1
 5566 tty2     Ss+    0:00 /sbin/getty 38400 tty2
 5567 tty3     Ss+    0:00 /sbin/getty 38400 tty3
 5568 tty4     Ss+    0:00 /sbin/getty 38400 tty4
 5569 tty5     Ss+    0:00 /sbin/getty 38400 tty5
 5570 tty6     Ss+    0:00 /sbin/getty 38400 tty6

[Updated on: Sat, 01 September 2007 23:21]

Report message to a moderator

Re: pstree with 2.6.20 [message #16351 is a reply to message #16350] Sat, 01 September 2007 23:37 Go to previous messageGo to next message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

Does pstree works on vanilla 2.6.20? Debian 2.6.20?

Kir Kolyshkin
http://static.openvz.org/userbars/openvz-developer.png
Re: pstree with 2.6.20 [message #16352 is a reply to message #16351] Sun, 02 September 2007 00:21 Go to previous messageGo to next message
MaFL is currently offline  MaFL
Messages: 14
Registered: November 2006
Location: Germany
Junior Member

yes, just tested
Re: pstree with 2.6.20 [message #16354 is a reply to message #16352] Sun, 02 September 2007 15:11 Go to previous messageGo to next message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

Yep, looks like this is a bug.

Looks like there's no chance we will be fixing that in 2.6.20 -- as we have already switched to 2.6.22. Can you try this, or switch to 2.6.18, or specify why you need exactly 2.6.20.


Kir Kolyshkin
http://static.openvz.org/userbars/openvz-developer.png
Re: pstree with 2.6.20 [message #16398 is a reply to message #16354] Tue, 04 September 2007 18:25 Go to previous message
MaFL is currently offline  MaFL
Messages: 14
Registered: November 2006
Location: Germany
Junior Member

no problem...

apart from 2.6.22 ovz002 is not compiling for me so far Rolling Eyes
but 2.6.18 is working fine

[Updated on: Tue, 04 September 2007 18:29]

Report message to a moderator

Previous Topic: *SOLVED* APF on host node
Next Topic: Limit to used pages not allocated ones
Goto Forum:
  


Current Time: Fri Jul 26 23:46:02 GMT 2024

Total time taken to generate the page: 0.03310 seconds