command for CPU online/offline status in bash shell


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users command for CPU online/offline status in bash shell
# 1  
Old 11-29-2006
Lightbulb command for CPU online/offline status in bash shell

Hi ,

How do i check that the CPU is online/offline in a multi CPU machine in Linux ?
i tired /proc/cpuinfo
dmesg
nothing gave me the currect CPU status.
Pls help !!
# 2  
Old 11-29-2006
Can you try psrinfo. Hope this helps.
# 3  
Old 11-29-2006
psrinfo is for solaris i think, try x86info ...
# 4  
Old 11-29-2006
Yes.

x86info under /usr/sbin
# 5  
Old 11-29-2006
it doesnt work

Nops....
it doesnt work .
# 6  
Old 11-30-2006
cpu info for linux

Try this

cat /proc/cpuinfo
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Solaris: Fault Management Service toggles online, offline

I have two Solaris 10 T2000 systems. Platform sun8 has newer firmware than sun7. sun8/user$ prtdiag -v | grep OBP OBP 4.30.4.b 2010/07/09 13:48 sun7/user$ prtdiag -v | grep OBP OBP 4.30.4.a 2010/01/06 14:56 The platform (sun8) with the newer firmware (OBP 4.30.4.b) has a Fault... (2 Replies)
Discussion started by: DavidHalko
2 Replies

2. Solaris

offline CPU Solaris 10.

Hi, I need to offline one of the CPUs in my M4000. I'm going to use the psradm command to offline the CPU. Do I need to do anything before offlining the CPU like unbinding processes etc? The servers are running oracle databases which I will shutdown beforehand.:confused: Thanks,... (0 Replies)
Discussion started by: sparcman
0 Replies

3. UNIX for Dummies Questions & Answers

How to recover services from offline to online?

Dear all, How to recover the Dns service from offline to online? I used the command " svcadm enable dns/client" the command is executing but again its showing service is offline. pls clarify and give me suggesstion... Thanks in advance (1 Reply)
Discussion started by: masthan25
1 Replies

4. UNIX for Advanced & Expert Users

how to find any device online/offline

what is the command for checking which device active and which is not active (1 Reply)
Discussion started by: RahulJoshi
1 Replies

5. Shell Programming and Scripting

Server Staus offline to online -Shell script

Hi, We put cron entry :whenever server is offline(checks every 5 minutes) it sends status to mailer group. The number of messages (offline)were growing in our mailbox.How to avoid not to send offline messages after the first one through shell script. Thanks in advance. Chowdary (2 Replies)
Discussion started by: chowdary_m
2 Replies

6. Solaris

All dependicies of nfs service is online but nfs is offline

Hi all in my server all nfs dependices are online but nfs client is offline root@BIWAPP1 # svcs -a|grep nfs disabled Sep_05 svc:/network/nfs/server:default online Sep_05 svc:/network/nfs/rquota:default online Sep_05 svc:/network/nfs/mapid:default online ... (9 Replies)
Discussion started by: spandhan
9 Replies

7. Programming

Solaris CPU/memory status monitoring (Shell script or c++)

i'm trying to find a way to monitor the CPU/Memory status of a solaris station using vmstat. I like to write a small script to periodically run vmstat and store the output. Can anyone show me how (preferrably in C++ if possible)? Thanks in advance. (6 Replies)
Discussion started by: shingpui
6 Replies

8. Shell Programming and Scripting

NIC status bash shell

Hi can someone tell me what command i can use to find the NIC status im using the bash shell. I'v tried ifconfig -a but this comes back as command not found. (3 Replies)
Discussion started by: warlock129
3 Replies

9. Solaris

Cluster group offline then online in 2 minutes

Hi , we are using Veritas cluster server on solaris 8. Suddenly one application group was offline and online after 2 minutes.. I have checked VCS log.. "VCS INFO V-16-1-50135 User reuters fired command: hares -offline middleman_proc server01 from 127.0.0.1" Does anyone faced this... (0 Replies)
Discussion started by: ddk2oo5
0 Replies
Login or Register to Ask a Question