- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: log file listed 3 times
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
05-24-2005 01:49 AM
05-24-2005 01:49 AM
-rw-r--r-- 1 root root 98904 May 13 07:39 /var/opt/resmon/log/event.log
However, when I do a simple "ls -l" from that directory, this is what I see:
jsommerv@corp64 /var/opt/resmon/log >ls -l
total 1456
lrwxr-xr-x 1 root sys 27 Jan 24 2001 api.log -> /etc/opt/rg
lrwxr-xr-x 1 root sys 30 Jan 24 2001 client.log -> /etc/opg
-rw-r--r-- 1 root root 98904 May 13 07:39 event.log
-r--r----- 1 root root 500309 May 2 14:33 event.log1
-rw-r--r-- 1 root root 68212 May 13 07:39 event.log
lrwxr-xr-x 1 root sys 33 Jan 24 2001 registrar.log -> /etcg
-rw-r--r-- 1 root root 68212 May 13 07:39 event.log
jsommerv@corp64 /var/opt/resmon/log >
Event.log is listed 3 times! What gives?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-24-2005 01:51 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-24-2005 01:53 AM
05-24-2005 01:53 AM
Re: log file listed 3 times
The top or third listing is a little mysterious.
What I suspect is a circular soft link created by the ln -s command.
I can't tell from what I see where that is.
If the system can be booted, I'd like to see this output after a boot.
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
05-24-2005 02:03 AM
05-24-2005 02:03 AM
Re: log file listed 3 times
as Stephen pointed out it is probably a case of unprintable chars. They can also be listed by:
# ls -lb
where the unprintable appears in octal notation. It is probably more difficult to figure out how the files got there.
regards,
John K.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-24-2005 02:07 AM
05-24-2005 02:07 AM
Re: log file listed 3 times
:-)