- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- turn off jobmonitor
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
Discussions
Discussions
Discussions
Forums
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
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
тАО12-19-2000 01:00 AM
тАО12-19-2000 01:00 AM
After installation of a newer version of jetadmin, it seems that all our printers have a changed setting as to jobmonitor. it's turned ON now, and i want it turned OFF for all printers.
How can i best do this?
I have a directory with all printers in it and i'd love to use a script to change the setting for all printers at once.
Thanx in advance
maurice
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-19-2000 01:07 AM
тАО12-19-2000 01:07 AM
Re: turn off jobmonitor
You should make sure that jobm="no"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-19-2000 01:10 AM
тАО12-19-2000 01:10 AM
Re: turn off jobmonitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-19-2000 01:12 AM
тАО12-19-2000 01:12 AM
Re: turn off jobmonitor
The directory is /etc/lp/interface.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-19-2000 01:16 AM
тАО12-19-2000 01:16 AM
Re: turn off jobmonitor
now all i need is a little script that replaces all the jobm="yes" with "no"
any magical ideas?
;o)
maurice
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-19-2000 01:27 AM
тАО12-19-2000 01:27 AM
Re: turn off jobmonitor
#!/bin/ksh
for f in /etc/lp/interface/*
do
if [ ! -d $f ]
then
cat $f | sed 's/jobm="yes"/jobm="old"/g' > $f.new
mv $f $f.old
mv $f.new $f
chmod 755 $f
chown lp:bin $f
fi
done
exit 0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-19-2000 01:29 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-19-2000 01:39 AM
тАО12-19-2000 01:39 AM
Re: turn off jobmonitor
:/
scripting isn't my "thing" sorry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-19-2000 02:40 AM
тАО12-19-2000 02:40 AM
Re: turn off jobmonitor
#!/sbin/sh
cd /etc/lp/interface
for file in `grep -l '^jobm="yes"' *`
do
ed $file <
. s/yes/no/
1
/^userjobm="yes"
. s/yes/no/
w
q
EOF
done
Then execute:
sh /tmp/jobmon.sh