- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- printer and memory slot info: using commands
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
02-06-2009 05:54 AM
02-06-2009 05:54 AM
printer and memory slot info: using commands
Please help to get the following info on HPUX:
Both PARISC & Ia64.
I need to write a script to get this info:
Printer - driver name and printer name
Memory – slot number, size of memory in that slot and speed (As in Mhz)
Regds....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2009 06:49 AM
02-06-2009 06:49 AM
Re: printer and memory slot info: using commands
can resort to take help of the cstm command.
refer to man 1M for cstm.
in normal command scene,
you can use,
can take help of cstm.
#cstm
cstm>map
cstm>selall
cstm>info;wait
cstm>infolog
you can save , print or filter the O/ps.
http://forums13.itrc.hp.com/service/forums/questionanswer.do?threadId=1311669
can follow the script as Pete Uses or
can have a look at the formatting that Ganeshan suggests.
regards
sujit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2009 10:51 AM
02-07-2009 10:51 AM
Re: printer and memory slot info: using commands
You no need to write a script to get this info,
Please check the nickel.script which HP has made for us, Its very Usefull,
You Just need to upload the nickel.script file to /tmp directory, run the nickel.script as root user and Information you are looking for created in HMTL formal,
Thanks,
Johnson
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2009 11:25 AM
02-07-2009 11:25 AM
Re: printer and memory slot info: using commands
There is no printer driver (HP-UX is not a PC). There is a printer script that helps with formatting plain ASCII text. The original script is copied and renamed when a printer is created, and the different scripts so not have any consistent identification method (like a what string). You have to read the beginning of each printer's script but there isn't a lot of useful information. The active scripts are located in /etc/lp/interface and also /etc/lp/interface/model.orig.
To list all the printers:
lpstat -v
(lpstat -t provides more details but is extremely slow when any remote printer is offline or unreachable due to long timeout values (not settable).
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2009 02:34 PM
02-07-2009 02:34 PM
Re: printer and memory slot info: using commands
"lpstat -a " should list the printers and also /usr/sam/lbin/lpmgr -l"