Printing
Command | Description |
cancel | deletes print jobs from queue |
hppi | jet admin |
ls -d | prints a file |
lpadmin | |
lpsched -v | |
lpstat | lists jobs in queue. -s -t |
pr .profile | lp -n3 | prints |
pr -o10 -l64 -F -h | 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:
/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
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/ |
No comments