- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- shell script commands like pdp11,hp9000s200,hp9000...
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
10-14-2001 06:59 PM
10-14-2001 06:59 PM
Are there any reasons, why these architecture
scripts are there on the HP-UX machine.
uname -m would give the architecure.
They just return exit 1/0
What is the signigicance of it.
Please let me know, if anyone knows about it.
Thanks and Regards
Deepak
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-14-2001 08:37 PM
10-14-2001 08:37 PM
Re: shell script commands like pdp11,hp9000s200,hp9000s300,hp9000s500,hp9000s800
In years gone by I am sure that using the
uname -m command resulted in the system
model as well as the model command.
e.g a T500 used to be called an 891, a
T600 an 897, therefore 'uname -m' would
return 800/891 or 800/897
I suspect that this is historical only,
but I could be wrong....
-Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2001 01:08 AM
10-15-2001 01:08 AM
Re: shell script commands like pdp11,hp9000s200,hp9000s300,hp9000s500,hp9000s800
It is a easy way to says if your box is a hp900s200 or what..
grep "exit" hp?*
hp-mc680x0:exit 1
hp-pa:exit 0
hp9000s200:exit 1
hp9000s300:exit 1
hp9000s400:exit 1
hp9000s500:exit 1
hp9000s700:exit $?
hp9000s700_8MB:exit 1
hp9000s800:exit 0
It is used in system integration scripts.
Can you say what machine type is this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2001 06:42 AM
10-15-2001 06:42 AM
Solutionthese script might still exist for historical reasons, but as well some existing software could
use it like that way:
if hp9000s800
then echo "Do some server work"
else echo "Do some workstation work"
fi
so I would not delete them until I am 100% certain
that NO SCRIPT AT ALL does use it any more...
Just my $0.02,
Wodisch
PS: you might try something like
find / -type f -print | while read name; do
case "$(file $name)" in
*text*) grep "hp9000s[23478]00" $name /dev/null;;
esac;done
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2001 07:00 AM
10-15-2001 07:00 AM