Monthly Archives: November 2011

How to manage RHEL / CentOS / OEL Linux Services

Redhat enterprise Linux comes with two nice commands ntsysv – simple TUI (text based interface) interface for configuring runlevels. chkconfig – chkconfig provides a simple command-line tool for maintaining the /etc/rc[0-6].d directory hierarchy by relieving system administrators of the task … Continue reading

Posted in Linux | Leave a comment

How to see the process threads / lwpid on HP-UX

# pstack <process id>   # pstack 7604   ——————————–  lwpid : 7463580   ——————————- 0: 60000000c0379e50 : __ksleep() + 0×30 (/usr/lib/hpux32/libc.so.1) 1: 60000000c013aa10 : __mxn_sleep() + 0xaf0 (/usr/lib/hpux32/libpthread.so.1) 2: 60000000c00d1f50 : pthread_cond_wait() + 0xdd0 (/usr/lib/hpux32/libpthread.so.1) 3: 60000000c00d1210 : pthread_cond_wait() + 0×90 … Continue reading

Posted in HP-UX | Leave a comment