- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Model information for processors in nPar
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
Discussions
Discussions
Forums
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
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
тАО04-27-2009 02:51 AM
тАО04-27-2009 02:51 AM
I am interested in finding out the model information for processors on an nPar machine. I am getting that through STM utility.
What I want to know is whether there is another way to find out this information? On a non-nPar machine I am viewing this file using this command:
cat /var/tombstones/ts99 2>/dev/null | grep -i "CPU Module" | sed -e 's/^\ *//g' -e 's/ *$//' -e 's/\.* /-/g' 2>/dev/null
Will this work in an nPar setup too ? I don't have the setup so wanted to find out. If anyone having nPar setup can help me out it will be great.
Thanks,
Vineet
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-27-2009 03:39 AM
тАО04-27-2009 03:39 AM
Re: Model information for processors in nPar
Not having an npar handy, and thinking maybe you do, perhaps you should merely test the script.
It can't hurt anything.
Answer:
http://docs.hp.com/en/T1335-90098/ch01s03.html
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-27-2009 04:17 AM
тАО04-27-2009 04:17 AM
Re: Model information for processors in nPar
Try this command.
echo "selclass qualifier cpu;infolog" | /usr/sbin/cstm | grep "CPU Module"
Ganesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-27-2009 05:02 AM
тАО04-27-2009 05:02 AM
Re: Model information for processors in nPar
Thanks for your answers. I found that
cat /var/tombstones/ts99 does give me the model information. However I have a different problem now.
I want to grep for 2 strings in this file. But I don't know the exact syntax. I am using /usr/bin/grep
Can you please tell me that?
Thanks,
Vineet
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-27-2009 05:32 AM
тАО04-27-2009 05:32 AM
SolutionIf you want to grep two words from a file use this syntax.
#grep -E "strings1|strings2" /tmp/filename
or
#grep -e "strings1" -e "strings2" /tmp/filename
or
#egrep "strings1|strings2" /tmp/filename
Use -i also if you wish to ignore case sensitive
Ganesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-27-2009 06:36 AM
тАО04-27-2009 06:36 AM