- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Regarding Cron and swlist
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
11-05-2006 04:03 AM
11-05-2006 04:03 AM
2. How do i a start/stop the cron daemon. Is there any commands to do it?
3. When i do a swlist alone i am getting some output. From which directory it takes and list me the output. To which directory the depot is mapped in HP-UX systems. How do i find it?
swlist
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-05-2006 04:50 AM
11-05-2006 04:50 AM
Solution1. You have done so.
2.
/sbin/init.d/cron stop (or crond)
/sbin/init.d/cron start (or crond)
No system handy right now.
3. swlist reads a database of installed depot or sd-ux comptabile programs installed on the system. It is kept in /var/sw
swlist is designed to read this database. I'm not sure if its actually human readable as I've never tried to read it by hand.
swlist -l product | grep -i name pattern
# usually helps you find installed software.
Remember that not all software on an HP-UX system needs to be installed by sd-ux, therefore the list is almost never complete in the real world.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-05-2006 06:17 AM
11-05-2006 06:17 AM
Re: Regarding Cron and swlist
If you are root you can do 'crontab -e username' to edit usernames crontab file or 'crontab -l username' to list it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-05-2006 06:30 AM
11-05-2006 06:30 AM
Re: Regarding Cron and swlist
As for 'swlist', by default is reads the '/var/adm/sw' directory to ascertain the contents of your Installed Product Database (IPD).
Most certainly, the files within '/var/adm/sw' are "human readable". This, afterall, is part of the UNIX philosophy. You should not attempt to manually edit the contents, however, but rather rely only on the standard SD tools ("swinstall', 'swremove', 'swverify', 'cleanup', etc.).
If you should loose part or all of the IPD you will have a server that is simply not patch-able!
If you want to list the contents of a depot as opposed to the IPD, use the '-d
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-05-2006 08:55 PM
11-05-2006 08:55 PM
Re: Regarding Cron and swlist
You can start and stop the cron daemons
1> Login to root user
2) /sbin/init.d/cron stop
3) /sbin/init.d/cron start
The default software directory is /var/adm/sw. Usually swlist reads from default directory only. By using SAM also you can find the default software depot.
- Vivek
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2006 02:16 AM
11-09-2006 02:16 AM
Re: Regarding Cron and swlist
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2006 02:18 AM
11-09-2006 02:18 AM