The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Special Forums > Filesystems, Disks and Memory
Google UNIX.COM


Filesystems, Disks and Memory Questions involving NAS, SAN, RAID, Robotic Libraries, backups, etc go here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
How to determine if there is a Power Problem using DIAG command? sky_lark02 AIX 2 03-18-2008 07:37 PM
diag report karthikosu AIX 3 04-13-2007 04:21 PM
What's meaning of "POWER" in diag command.? pattarapongn AIX 1 09-24-2006 03:57 PM
Error Message during Diag marvin51796 AIX 1 12-07-2004 12:50 PM
user diag ?? breigner HP-UX 1 07-25-2004 08:45 AM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1  
Old 03-25-2003
Registered User
 

Join Date: Aug 2001
Posts: 24
Angry Sun Hardware Diag Tools

Problem: Several possible cooked Sun U10's.

Need: Sun Hardware Diag Tools.

I want to pound on these boxes and see whats what. I am wondering where I could find some Diag tools that will help me diag problems. Freeware is preferred. (The magic budget of $0)
Reply With Quote
Forum Sponsor
  #2  
Old 03-25-2003
RTM's Avatar
RTM RTM is offline
Hog Hunter
 
Join Date: Apr 2002
Location: On my motorcycle
Posts: 3,039
Solaris comes with some tools that you can use and others can be found on the web. Look into sar, vmstat, netstat, iostat, top (freeware), proctool (freeware).

Example - Sunperf.com
Reply With Quote
  #3  
Old 03-25-2003
Registered User
 

Join Date: Aug 2001
Posts: 24
I had seen these performance tools, but are they going to let me stress test the hardware?
I want to load it up, so right now I have a CPU intensive application running.
Reply With Quote
  #4  
Old 03-25-2003
RTM's Avatar
RTM RTM is offline
Hog Hunter
 
Join Date: Apr 2002
Location: On my motorcycle
Posts: 3,039
If you are looking to put a load on the system, this can be accomplished with a simple script.

CPU Intensive:

#!/bin/ksh
while true
do
counter=$counter+1
done


Filesystem intensive:

# find ./ -name "*" > /dev/null

or

# mkfile 10m myfilename

(The last one should be done on a filesystem that can handle it - suggest a bigger file but that is something you can look into)

Someone else can give you something for memory - I've gotten it to climb before but not as much as with cpu and filesystems - and I can't seem to find the script I used for that or remember how I did it.
Reply With Quote
  #5  
Old 03-25-2003
Perderabo's Avatar
Unix Daemon
 

Join Date: Aug 2001
Location: Washington DC Area
Posts: 8,616
Just edit a file with emacs...that should stress both memory and cpu 8)

Actually, memory always has something in it. Consuming memory is an OS concept. And modern CPU's seldom halt. An "idle cpu" is another OS concept. Idle CPU's are scanning the run queues looking for something to do, and that idle loop is arguably "running a program". Are you trying to stress the system or locate hardware problems?

If you really want diagnostics, see: Hardware Diagnostics for Sun Systems: A Toolkit for System Administrators
Reply With Quote
  #6  
Old 03-25-2003
Registered User
 

Join Date: Aug 2001
Posts: 24
I am trying to locate hardware problems that I know exists in one form or another on these three boxes.
Reply With Quote
  #7  
Old 03-25-2003
TioTony's Avatar
Bit Pusher
 

Join Date: Oct 2001
Location: Southern California
Posts: 332
I don't know if I am way off for what you are asking, but go to the "ok" prompt by typing "init 0". Once there type "setenv diag-switch? true" and "setenv diag-level? max" and "reset-all". It will spew all kinds of hardware info. This is just a basic overview, I suggest you go to docs.sun.com and read more about these commands if this is what you are looking for.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Tags
solaris

Thread Tools
Display Modes




All times are GMT -7. The time now is 02:42 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0