Author name: admin

How to check number of "Physical CPU and core"?

number of physical cpu: “psrinfo -p” number of cores: “kstat cpu_info|grep core_id|sort -u|wc -l” number of threads: “psrinfo -pv” Code: # echo “`psrinfo -p` socket(s)” 2 socket(s) Code: # echo “`kstat -m cpu_info|grep -w core_id|uniq|wc -l` core(s) ” 8 core(s) Code: # echo “`psrinfo|wc -l` logical (virtual) processor(s)” 64 logical (virtual) processor(s) so (core(s) with […]

How to check number of "Physical CPU and core"? Read More »

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 of directly manipulating the numerous symbolic links in those directories. Turn on sshd service on

How to manage RHEL / CentOS / OEL Linux Services Read More »

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

# pstack <process id>   # pstack 7604   ——————————–  lwpid : 7463580   ——————————- 0: 60000000c0379e50 : __ksleep() + 0x30 (/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() + 0x90 (/usr/lib/hpux32/libpthread.so.1) 4: 60000000c9d4ba20 : _ZN2os4Hpux5Event4downEv() + 0x100 (/gmac01/oraas/mid/jdk/jre/lib/IA64N/server/libjvm.so) 5: 60000000c9d4f650 : _ZN13ObjectMonitor4waitExbP6Thread() + 0x1280 (/gmac01/oraas/mid/jdk/jre/lib/IA64N/server/libjvm.so)

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

Installing and configuring a Solaris JumpStart server

I have setup jumpstart server with  Oracle Solaris 10 8/11 s10s_u10wos_17b SPARC on this weekend. 1. Preparation Configure some NFS-mountable directories to store the contents of the Solaris installation media and some additional config configuration files: # mkdir /export/install/# mkdir /export/config Add the following lines to the /etc/dfs/dfstab file to make these directories shareable: #

Installing and configuring a Solaris JumpStart server Read More »

Scroll to Top