HP-UX Overview and Command Summary - page 5

March 07, 2011


Printing

Command
Description
cancel
deletes print jobs from queue
hppi
jet admin
ls -d -o file
prints a file
lpadmin
lpsched -v
lpstat
lists jobs in queue. -s  -t
pr .profile | lp -n3
prints
pr -o10 -l64 -F -h

| lp
prints using margins of 10, page length of 64, header on each page

/etc/lp

/usr/lib/lp
/var/adm/lp
/var/spool/lp

/etc/lp/interface - interface scripts

/var/sam/lp/lpinfo

Migrating the printer configuration from one server to another server using SAM:

On the source server:
  • SAM  --> Printers & Plotters --> LP Spooler --> Save/Restore Spooler Configuration
  • Actions --> Save Spooler Configuration
    • This saves the information in the directory /var/sam/lp
  • Save this directory using tar:  "tar -cvf /tmp/lp.tar /var/sam/lp"
  • Copy this tar file to the destination server
On the destination server:
  • Extract this file:  "tar -xvf lp.tar"
  • SAM --> Printers & Plotters --> LP Spooler --> Save/Restor Spooler Configuration
  • Actions --> Restore Spooler Configuration

Performance Monitoring
top
     j  moves forward pages in the display
     k moves backwared pages in the display
glance (if installed)

sar -q 
sar -u 
sar -d 

vmstat

vminfo
Process Management

Command
Description
inetd -c
Causes inet to reload /etc/inetd.conf
inetd -l
starts logging in /var/adm/syslog/syslog.log
ps -ef | grep PROD
list all processes, but only show those processes that have "PROD" in them
/sbin/init.d/


Find HP-UX Overview and Command Summary All pages 
Page 12    |||    Page 11   |||   Page 10   |||   Page 9   |||
Page 8      |||    Page 7      |||   Page 6     |||   Page 5   |||
Page 4      |||    Page 3     |||   Page 2      |||    Page 1  |||

Related Posts

Next Article
« Prev Post
Previous Article
Next Post »

No comments