- Community Home
- >
- Servers and Operating Systems
- >
- Legacy
- >
- HPE 9000 and HPE e3000 Servers
- >
- Determine PDC version from a script
HPE 9000 and HPE e3000 Servers
1753971
Members
8684
Online
108811
Solutions
Forums
Categories
Company
Local Language
юдл
back
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
юдл
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
тАО06-10-2004 04:08 AM
тАО06-10-2004 04:08 AM
This is how I came up with finding the PDC version in a script. I needed something that worked on A,L,N class servers... It works, but I was curious if anyone had a better way:
echo "sel path `echo "map\n"|cstm|grep CPU|head -n1|awk '{print$2}'`\ninfolog\nexit"|cstm|grep PDC|head -n1|awk '{print$4}'
echo "sel path `echo "map\n"|cstm|grep CPU|head -n1|awk '{print$2}'`\ninfolog\nexit"|cstm|grep PDC|head -n1|awk '{print$4}'
Where wisdom is called for, force is of little use. --Of course, a hammer does wonders for relieving stress.
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-10-2004 06:23 AM
тАО06-10-2004 06:23 AM
Solution
Hi Jeff,
I found this one liner from Jeff Schussele,
# echo "selclass qualifier cpu;info;wait;infolog" | cstm | grep "Processor 0 HPMC" | awk '{print $7,$8,$9}'
and this one,
# grep PDC /var/tompstones/ts99
Hope this helps,
Robert-Jan
I found this one liner from Jeff Schussele,
# echo "selclass qualifier cpu;info;wait;infolog" | cstm | grep "Processor 0 HPMC" | awk '{print $7,$8,$9}'
and this one,
# grep PDC /var/tompstones/ts99
Hope this helps,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-10-2004 06:34 AM
тАО06-10-2004 06:34 AM
Re: Determine PDC version from a script
I forgot about checking tombstones!
The other one doesn't work on all of my servers (returns blank on some). It was similar to my first attempt.
The other one doesn't work on all of my servers (returns blank on some). It was similar to my first attempt.
Where wisdom is called for, force is of little use. --Of course, a hammer does wonders for relieving stress.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-04-2005 04:37 AM
тАО03-04-2005 04:37 AM
Re: Determine PDC version from a script
Used above solution.
Where wisdom is called for, force is of little use. --Of course, a hammer does wonders for relieving stress.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP