- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Need to view SULOG with year option...
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
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
тАО07-30-2007 06:09 AM
тАО07-30-2007 06:09 AM
Need to view SULOG with year option...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-30-2007 06:24 AM
тАО07-30-2007 06:24 AM
Re: Need to view SULOG with year option...
Jeff Traigle
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-30-2007 06:28 AM
тАО07-30-2007 06:28 AM
Re: Need to view SULOG with year option...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-30-2007 06:43 AM
тАО07-30-2007 06:43 AM
Re: Need to view SULOG with year option...
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-30-2007 06:45 AM
тАО07-30-2007 06:45 AM
Re: Need to view SULOG with year option...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-30-2007 06:50 AM
тАО07-30-2007 06:50 AM
Re: Need to view SULOG with year option...
i put it in cron to run at 11:50 pm every night
here is my script
#!/usr/bin/sh
TAG=`date +%b_%d_%Y`
LOGFILE=/var/adm/sulogs_backup/su.$TAG.log
if [ ! -d /var/adm/sulogs_backup ]
then
mkdir /var/adm/sulogs_backup
fi
if [ ! -f $LOGFILE ]
then
mv /var/adm/sulog $LOGFILE
fi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-30-2007 07:01 AM
тАО07-30-2007 07:01 AM
Re: Need to view SULOG with year option...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-30-2007 07:06 AM
тАО07-30-2007 07:06 AM
Re: Need to view SULOG with year option...
so the sulog gets removed and a new one is created automatically as soon as someone does su
Regards
Aussan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-30-2007 07:09 AM
тАО07-30-2007 07:09 AM
Re: Need to view SULOG with year option...
Jeff Traigle
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-30-2007 07:10 AM
тАО07-30-2007 07:10 AM
Re: Need to view SULOG with year option...
su.Jul_02_2007.log
su.Jul_03_2007.log
su.Jul_06_2007.log
su.Jul_07_2007.log
su.Jul_09_2007.log
su.Jul_10_2007.log
su.Jul_11_2007.log
su.Jul_12_2007.log
su.Jul_13_2007.log
su.Jul_17_2007.log
su.Jul_18_2007.log
su.Jul_19_2007.log
su.Jul_21_2007.log
su.Jul_25_2007.log
su.Jul_27_2007.log