10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I'm trying to add a superuser (admin) to plesk from SSH (I have root access). Can this be done? I have search over the web but did not find any solution to my problem. My version is Plesk 9.3 (0 Replies)
Discussion started by: galford
2. Shell Programming and Scripting
I have a function like this
/* Inside this I will do some activites
How I can redirect this function to a log file , so that If I look into that log file I can understand ,is there any error happened inside the function or not (3 Replies)
Discussion started by: saj
3. Shell Programming and Scripting
How can view log messages between two time frame from /var/log/message or any type of log files.
when logfiles are very big and especially many messages with in few minutes, I would like to display log messages between 5 minute interval.
Could you pls give me the command? (1 Reply)
Discussion started by: johnveslin
4. UNIX for Dummies Questions & Answers
I want to view the content of /etc/log..I logged in as root and tried to open /etc/log using the command "gedit /etc/log" but didn't work out.How can i go about it?Thanks in advance.. (1 Reply)
Discussion started by: jois
5. UNIX for Dummies Questions & Answers
First of all: I am a newbie. :o :(
I have a CentOS 64bit server with Plesk Panel 8.6.
And have been hacked. :mad:
After many tries and support tickets, I am configuring a new server, with Suse 11 and Plesk 9.2.
I know that Plesk 8.6 have a backup utility (Parallels Plesk Control... (3 Replies)
Discussion started by: miguelvidal
6. Shell Programming and Scripting
I have a script to delete unwanted cookies from some Curl jobs we are doing
find /tmp -name 'CURLCOOKIE*' -print0 | xargs -0 rm
this works great when I am logged on as root in the shell, now I have to put it into a cron job in Plesk.
When I do that it does not work. I think the directory... (0 Replies)
Discussion started by: vaene
7. UNIX and Linux Applications
I really need your help ASAP on this. Below is the description of my problem and a sketch of Autosys
Job Activity Console
File View Options
Job Name Description Status Command Machine... (1 Reply)
Discussion started by: sakal_woman
8. Shell Programming and Scripting
I have a file called Archiver1.gz
how to view this file without doing gunzip on it i.e. decompressing it
i tried this command but its not working:
gzcat Archiver1.gz | tail -10 (4 Replies)
Discussion started by: ali560045
9. Shell Programming and Scripting
Can some on say how in simplest way to implement the following:
I have two files:
I need to get third file:
some another (1 Reply)
Discussion started by: mirusnet
10. UNIX for Dummies Questions & Answers
i have this unix version "unix v/386" and i want to view the log files how i can do it?
regards (5 Replies)
Discussion started by: sak900354
xfs_logprint(8) System Manager's Manual xfs_logprint(8)
xfs_logprint - print the log of an XFS filesystem
xfs_logprint [ options ] device
xfs_logprint prints the log of an XFS filesystem (see xfs(5)). The device argument is the pathname of the partition or logical volume con-
taining the filesystem. The device can be a regular file if the -f option is used. The contents of the filesystem remain undisturbed.
There are two major modes of operation in xfs_logprint.
One mode is better for filesystem operation debugging. It is called the transactional view and is enabled through the -t option. The
transactional view prints only the portion of the log that pertains to recovery. In other words, it prints out complete transactions
between the tail and the head. This view tries to display each transaction without regard to how they are split across log records.
The second mode starts printing out information from the beginning of the log. Some error blocks might print out in the beginning because
the last log record usually overlaps the oldest log record. A message is printed when the physical end of the log is reached and when the
logical end of the log is reached. A log record view is displayed one record at a time. Transactions that span log records may not be
-b Extract and print buffer information. Only used in transactional view.
-c Attempt to continue when an error is detected.
Copy the log from the filesystem to the file filename. The log itself is not printed.
-d Dump the log from front to end, printing where each log record is located on disk.
-D Do not decode anything; just print data.
-e Exit when an error is found in the log. Normally, xfs_logprint tries to continue and unwind from bad logs. However, sometimes it
just dies in bad ways. Using this option prevents core dumps.
-f Specifies that the filesystem image to be processed is stored in a regular file at device (see the mkfs.xfs(8) -d file option).
This might happen if an image copy of a filesystem has been made into an ordinary file with xfs_copy(8).
External log device. Only for those filesystems which use an external log.
-i Extract and print inode information. Only used in transactional view.
-q Extract and print quota information. Only used in transactional view.
-n Do not try and interpret log data; just interpret log header information.
-o Also print buffer data in hex. Normally, buffer data is just decoded, so better information can be printed.
Override any notion of where to start printing.
-t Print out the transactional view.