LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris and OpenSolaris.
General Sun, SunOS and Sparc related questions also go here.

Notices

Reply
 
Search this Thread
Old 01-10-2014, 02:09 AM   #1
manalisharmabe
Member
 
Registered: Dec 2010
Posts: 240

Rep: Reputation: 1
STATS command output not showing detail information.


Hi Guys,

on one of our server I am NOT getting detail stats information output, some information is missing:-

Code:
/usr/local/bin/sudo /usr/local/bin/stats

_______________________System Statistics________________________

load averages:  0.01,  0.02,  0.02    07:32:59
67 processes:  66 sleeping, 1 on cpu
Memory: 4096M real, 1846M free, 2195M swap in use, 17G swap free

00:00:00     %usr    %sys    %wio   %idle   07:33:00
Average        1       1       0      99

All metadevices are stable
==========================


Checking temperatures are OK or Not



Checking Power  Supplies are OK or not



Checking Fans  are OK or not



Report Failures Directly To Unixteam
==============================================
SN: xxxxxxx
CID: xxxxxxxx
PROM: OBP 4.17.1 2005/04/11 14:25
Hostname: xxxxxxxxxx
Hostid: xxxxxxxxxx
Kernel architecture: sun4u
Hardware provider: Oracle Corporation
Kernel version: SunOS 5.10 Generic_147440-12
System Configuration: Oracle Corporation  sun4u Sun Fire V240
sysmgr@xxxxxxxxxxx~LOCAL/bin>>
It should show like this:-

Code:
 /usr/local/bin/sudo /usr/local/bin/stats
Password:

_______________________System Statistics________________________

load averages:  0.04,  0.02,  0.03    07:31:02
52 processes:  51 sleeping, 1 on cpu
Memory: 4096M real, 3503M free, 342M swap in use, 11G swap free

00:00:00     %usr    %sys    %wio   %idle   07:31:04
Average        0       1       1      98

All metadevices are stable
==========================


Checking temperatures are OK or Not

Temperature sensors:
-------------------------------------------------------------------
Location       Sensor      Temperature  Lo LoWarn HiWarn  Hi Status
-------------------------------------------------------------------
MB             T_ENC           17C     -3C    5C   40C   48C okay
MB/P0          T_CORE          46C     -     -    110C  115C okay
MB/P1          T_CORE          43C     -     -    110C  115C okay
PS0            FF_OT           -       -     -     -     -   okay
PS1            FF_OT           -       -     -     -     -   okay
------------------------------------------------------------------------


Checking Power  Supplies are OK or Not

Current sensors:
----------------------------------------------------------------------
Location   Sensor      Current    Lo     LoWarn  HiWarn   Hi    Status
----------------------------------------------------------------------
MB         FF_SCSI      -         -       -       -       -   okay
PS0        FF_OC        -         -       -       -       -   okay
PS1        FF_OC        -         -       -       -       -   okay



Checking Fans  are OK or not

Fan Speeds:
-----------------------------------------
Location       Sensor      Status   Speed
-----------------------------------------
MB/P0/F0       RS          okay     15340 rpm
MB/P0/F1       RS          okay     15697 rpm
MB/P1/F0       RS          okay     15000 rpm
MB/P1/F1       RS          okay     16463 rpm
F0             RS          okay     4963 rpm
F1             RS          okay     5037 rpm
F2             RS          okay     5075 rpm
PS0            FF_FAN      okay
PS1            FF_FAN      okay
---------------------------------
Keyswitch:
---------------------------------
Please advise,

What can be the issue? or is there any issue on the server?

Please suggest.

Thanks a lot.
 
Old 01-11-2014, 12:23 PM   #2
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 15,075

Rep: Reputation: 2712Reputation: 2712Reputation: 2712Reputation: 2712Reputation: 2712Reputation: 2712Reputation: 2712Reputation: 2712Reputation: 2712Reputation: 2712Reputation: 2712
Quote:
Originally Posted by manalisharmabe View Post
Hi Guys,
on one of our server I am NOT getting detail stats information output, some information is missing:-

Please advise, What can be the issue? or is there any issue on the server? Please suggest.
As with SEVERAL of your other threads, we will suggest that you provide USEFUL DETAILS. You don't tell us what version of Solaris this is, on what kind of server, what's on it, etc. Posting output with no context tells us nothing.

Best guess: either the servers are different, or somethings not loaded that needs to be. You should contact the systems administrator with further questions, or call Solaris support.
 
Old 01-11-2014, 12:30 PM   #3
shivaa
Senior Member
 
Registered: Jul 2012
Location: Grenoble, Fr.
Distribution: Sun Solaris, RHEL, Ubuntu, Debian 6.0
Posts: 1,797
Blog Entries: 4

Rep: Reputation: 285Reputation: 285Reputation: 285
Have you tried both commands on same machine OR different machines/hardware/OS OR this command is behaving differently or same system? BTW, I am not aware about stats command, so could you provide this command/package details, so I can give it a try on my Solaris system and check its output?

Last edited by shivaa; 01-11-2014 at 12:33 PM. Reason: Minor addition
 
Old 01-13-2014, 05:19 AM   #4
manalisharmabe
Member
 
Registered: Dec 2010
Posts: 240

Original Poster
Rep: Reputation: 1
Yes, I forgot!

This is Solaris 10 Sparc machine(physical machine)

This is our production machine.

how ever we are also experiencing these errors on this system:-

Code:
Here is the Error message that we are receiving on our production system Solaris 10 Sparc system.

-------------------------------------------------
Jan 7 22:32:11 system31 scsi: [ID 243001 kern.warning] WARNING: /scsi_vhci (scsi_vhci0): 
Jan 7 22:32:11 system31 /scsi_vhci/ssd@g600601603cd026002aed2dfdf01ddf11 (ssd24): Command Timeout on path fp9/ssd@w50060167446027b9,10 
Jan 7 22:32:11 system31 scsi: [ID 107833 kern.warning] WARNING: /scsi_vhci/ssd@g600601603cd026002aed2dfdf01ddf11 (ssd24): 
Jan 7 22:32:12 system31 scsi: [ID 243001 kern.warning] WARNING: /scsi_vhci (scsi_vhci0): 
Jan 7 22:32:12 system31 /scsi_vhci/ssd@g600601603cd026002aed2dfdf01ddf11 (ssd24): Command Timeout on path fp4/ssd@w50060166446027b9,10 
Jan 7 22:32:12 system31 scsi: [ID 243001 kern.warning] WARNING: /scsi_vhci (scsi_vhci0): 
Jan 7 22:32:12 system31 /scsi_vhci/ssd@g600601603cd026002aed2dfdf01ddf11 (ssd24): Command Timeout on path fp9/ssd@w50060167446027b9,10 
Jan 7 22:32:13 system31 scsi: [ID 243001 kern.warning] WARNING: /scsi_vhci (scsi_vhci0): 
Jan 7 22:32:13 system31 /scsi_vhci/ssd@g600601603cd026002aed2dfdf01ddf11 (ssd24): Command Timeout on path fp4/ssd@w50060166446027b9,10 
Jan 7 22:32:14 system31 scsi: [ID 243001 kern.warning] WARNING: /scsi_vhci (scsi_vhci0): 
Jan 7 22:32:14 system31 /scsi_vhci/ssd@g600601603cd026002aed2dfdf01ddf11 (ssd24): Command Timeout on path fp4/ssd@w50060166446027b9,10 
Jan 7 22:32:14 system31 scsi: [ID 243001 kern.warning] WARNING: /scsi_vhci (scsi_vhci0): 
Jan 7 22:32:14 system31 /scsi_vhci/ssd@g600601603cd026002aed2dfdf01ddf11 (ssd24): Command Timeout on path fp9/ssd@w50060167446027b9,10 
Jan 7 22:32:16 system31 scsi: [ID 243001 kern.warning] WARNING: /scsi_vhci (scsi_vhci0): 
Jan 7 22:32:16 system31 /scsi_vhci/ssd@g600601603cd026002aed2dfdf01ddf11 (ssd24): Command Timeout on path fp4/ssd@w50060166446027b9,10 
Jan 7 22:32:16 system31 scsi: [ID 243001 kern.warning] WARNING: /scsi_vhci (scsi_vhci0): 
Jan 7 22:32:16 system31 /scsi_vhci/ssd@g600601603cd026002aed2dfdf01ddf11 (ssd24): Command Timeout on path fp9/ssd@w50060167446027b9,10 
Jan 8 01:31:33 system31 scsi: [ID 243001 kern.warning] WARNING: /scsi_vhci (scsi_vhci0):
Does the above error also plays part in above stats output issue.

Thanks.

---------- Post added 01-13-14 at 05:19 AM ----------

Quote:
Originally Posted by shivaa View Post
Have you tried both commands on same machine OR different machines/hardware/OS OR this command is behaving differently or same system? BTW, I am not aware about stats command, so could you provide this command/package details, so I can give it a try on my Solaris system and check its output?
both command ran on 2 different systems.
 
Old 01-13-2014, 07:01 AM   #5
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris10, Solaris 11, Mint, OL
Posts: 9,523

Rep: Reputation: 365Reputation: 365Reputation: 365Reputation: 365
We have no crystal ball. /usr/local/bin/stats is not a Solaris command. You should either contact its author to get support or post its source otherwise, assuming it is a shell script.
 
Old 01-13-2014, 10:11 AM   #6
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 15,075

Rep: Reputation: 2712Reputation: 2712Reputation: 2712Reputation: 2712Reputation: 2712Reputation: 2712Reputation: 2712Reputation: 2712Reputation: 2712Reputation: 2712Reputation: 2712
Quote:
Originally Posted by manalisharmabe View Post
Yes, I forgot!
This is Solaris 10 Sparc machine(physical machine) This is our production machine.
And you STILL DO NOT TELL US WHAT KIND OF MACHINE IT IS...we have asked you MANY times in the past to provide details, and this thread is no different. What KIND of 'physical machine'??? Sun has things from desktop systems to huge room-filling servers...and amazingly enough, both are 'physical machines'...and both have VASTLY different capabilities/features.
Quote:
how ever we are also experiencing these errors on this system:-
Code:
Here is the Error message that we are receiving on our production system Solaris 10 Sparc system.
-------------------------------------------------
Jan 7 22:32:11 system31 scsi: [ID 243001 kern.warning] WARNING: /scsi_vhci (scsi_vhci0): 
Jan 7 22:32:11 system31 /scsi_vhci/ssd@g600601603cd026002aed2dfdf01ddf11 (ssd24): Command Timeout on path fp9/ssd@w50060167446027b9,10
Does the above error also plays part in above stats output issue. both command ran on 2 different systems.
As jlliagre said, 'stats' is not a Solaris command. And again, as you've been asked several times in the past...have you tried to look up that error??? Since you STILL don't provide details about your 'physical machine', the message indicates FC attached disk of some sort, with some sort of multipathing. Have you bothered to check your disks? Run ANY of whatever-multipathing-software-you're-using utilities to check things out?

And you STILL don't tell us where you got this 'stats' command from, or why you think the output is wrong. Have you actually looked at the script? Checked what it's doing? Run the commands manually to see what you get and why?? ANY diagnostics at all??

If you're having problems, contact your systems administrator at your site...they should be able to walk you through basic troubleshooting.
 
Old 01-13-2014, 10:23 AM   #7
schneidz
Senior Member
 
Registered: May 2005
Location: boston, usa
Distribution: fc-15/ fc-20-live-usb/ aix
Posts: 4,197

Rep: Reputation: 642Reputation: 642Reputation: 642Reputation: 642Reputation: 642Reputation: 642
Quote:
Originally Posted by manalisharmabe View Post
Hi Guys,

on one of our server I am NOT getting detail stats information output, some information is missing:-

Code:
/usr/local/bin/sudo /usr/local/bin/stats

_______________________System Statistics________________________

load averages:  0.01,  0.02,  0.02    07:32:59
67 processes:  66 sleeping, 1 on cpu
Memory: 4096M real, 1846M free, 2195M swap in use, 17G swap free

00:00:00     %usr    %sys    %wio   %idle   07:33:00
Average        1       1       0      99

...
Report Failures Directly To Unixteam
...
...
perhaps i can clear some confusion... i also work for a corporation and it seems like this script/program/utility was created by someone at your work place (not something generic to unix or sun-os). it seems like your work place has a team that should get questions like this (probably an email group mailbox in gmail/outlook).
 
Old 01-13-2014, 10:36 AM   #8
schneidz
Senior Member
 
Registered: May 2005
Location: boston, usa
Distribution: fc-15/ fc-20-live-usb/ aix
Posts: 4,197

Rep: Reputation: 642Reputation: 642Reputation: 642Reputation: 642Reputation: 642Reputation: 642
removed.

Last edited by schneidz; 01-13-2014 at 01:38 PM. Reason: wrong thread, sorry
 
Old 01-13-2014, 12:16 PM   #9
shivaa
Senior Member
 
Registered: Jul 2012
Location: Grenoble, Fr.
Distribution: Sun Solaris, RHEL, Ubuntu, Debian 6.0
Posts: 1,797
Blog Entries: 4

Rep: Reputation: 285Reputation: 285Reputation: 285
Quote:
Originally Posted by jlliagre View Post
/usr/local/bin/stats is not a Solaris command
Agree. I guess it's some shell script/function created by some individual to fetch some useful system information for their internal use. Since you're invoking it on two different machine, so obviously output will be different from both systems. So before any further analysis, provide us details of both systems (Harware, architecture, OS, version etc).
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Bash :: Retrieving Output From A Command Streaming Information cin_ Programming 6 06-04-2013 01:59 PM
Showing command output on the screen while simultaneously logging it. Lufbery Slackware 3 02-04-2010 03:18 PM
finger command's output and user's information Hi_This_is_Dev Linux - Server 1 10-03-2009 07:51 AM
how to get the absolute path information of a command from ps command output ratul_11 Linux - General 1 08-06-2008 03:10 AM
what is a bash command to found out information about computer stats whited Linux - Hardware 1 06-20-2007 10:49 AM


All times are GMT -5. The time now is 12:53 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration