- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Command for RAM & HDD
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2003 08:27 PM
11-19-2003 08:27 PM
This question might be silly. I need to know what is the command used to check the RAM & HDD capacity is the machine.
Thanx & Regards,
Roby
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2003 08:33 PM
11-19-2003 08:33 PM
Re: Command for RAM & HDD
grep -i physical /var/adm/syslog/syslog.log
glance -m
echo "memory_installed_in_machine/D" | adb -k /stand/vmunix /dev/kmem
echo "selclass qualifier memory;info;wait;infolog"|cstm|pg
The Hdds
ioscan -fnCdisk.
Check all disks listed and diskinfo for each disk.
diskinfo /dev/rdsk/cxtxdx
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2003 08:34 PM
11-19-2003 08:34 PM
Re: Command for RAM & HDD
for ram check
# dmesg
for diskspace do an
# cd /dev/rdsk
# for i in ls
do
diskinfo $PWD/$i
done | more
Gideon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2003 08:34 PM
11-19-2003 08:34 PM
Re: Command for RAM & HDD
For checking RAM use
#dmesg |grep -i physical
For seeing HDD capacity
1)ioscan -fnC disk
this will list all HDDs .
notdown device file name
2)diskinfo /dev/rdsk/c?t?d?
Substitute the values for c?t?d? from the ioscan o/p
bye
baiju
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2003 08:36 PM
11-19-2003 08:36 PM
Re: Command for RAM & HDD
Don't really with the question but if you want to check the
1. Total capacity of Memory
- dmesg
- SAM -> Performance Monitor ->System Properties
2. Total H/Disk and Capacity
- ioscan -funC disk
- SAM -> Disk And File System
Let us know if you need other info
Thanks & Regards
Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2003 08:40 PM
11-19-2003 08:40 PM
Re: Command for RAM & HDD
if you have ignite installed, they try executing:
# /opt/ignite/bin/print_manifest
and redirect the output to a file. This shows the most important system information.
regards,
John K.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2003 08:42 PM
11-19-2003 08:42 PM
Re: Command for RAM & HDD
I. You can use SAM for these purposes.
1. login as root
2. goto SAM
# sam
For disk :
goto 'Disk and File Systems'
goto 'Disk Devices'
For memory :
goto 'Performance Monitor'
goto 'System Properties'
II. You can also can use command line :
For disk :
# ioscan -nfCdisk
get the harddisk device file (eg. /dev/dsk/cxtydz)
# diskinfo -v /dev/dsk/cxtydz
For memory
# dmesg | grep Physical
III. You can use 'mstm' command if the OnlineDiag software already installed on your system.
# mstm
Select the device > 'Tools' > 'Information' > 'Run'
Hope this information can help you.
Best Regards,
AW
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2003 08:44 PM
11-19-2003 08:44 PM
Re: Command for RAM & HDD
# diskinfo -v /dev/rdsk/cxtydz
Best Regards,
AW
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2003 09:00 PM
11-19-2003 09:00 PM
Solutionthe following commands should satisfy your request:
FOR RAM:
1. by Support Tools Manager:
# mstm
and then select memory; from menu Tools ---> Information ---> Run
2. by dmesg
dmesg | grep -i physical
3. also:
for 10.20 OS version:
REAL_MEM=`echo 'physmem/D '| adb -k /stand/vmunix /dev/kmem | tail -1 | awk '{ print $2/256}'`
echo $REAL_MEM
for 11.00 version :
REAL_MEM=`echo 'phys_mem_pages/D '| adb -k /stand/vmunix /dev/kmem | tail -1 | awk '{ print $2/256}'`
echo $REAL_MEM
both values will be in MBs
FOR HDD:
# ioscan -fnC disk
# diskinfo /dev/rdsk/cXtXdX
where cXtXdX are controller, target, lun that result by ioscan.
In size line of diskinfo output you will get the size of HDD.
I hope this helps you.
Bets regards,
Ettore
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2003 11:02 PM
11-19-2003 11:02 PM
Re: Command for RAM & HDD
Thanx & Regards,
Roby
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2003 01:50 PM
11-20-2003 01:50 PM
Re: Command for RAM & HDD
# sam --> "performance Monitor" --> "system properties"
--> here you can information of physical memory & swap device