10-28-2002
I will admit, my suggestion is a long-winded approach.
I didn't know of the inode detail that LivinFree raised, thanks LivinFree.
10 More Discussions You Might Find Interesting
1. UNIX Desktop Questions & Answers
hi
My name is Juan
I dont can clear wtmp and similiar files
how i do it?
thanks (4 Replies)
Discussion started by: jtapia
4 Replies
2. Shell Programming and Scripting
Hey Guys,
i am new into shell programming and i have to do one script which have to record all the commands entered by a specific user.
Example of that, i have a system running on unix, several users are using this system, i have to create like a databse which will record every user entered that... (5 Replies)
Discussion started by: charbel
5 Replies
3. UNIX for Advanced & Expert Users
Hy, I have a question
I have a directory in a unix server,
Some of my files have a diffrent access time,
from the time i accessed them last,
I think some one has copied it,it's not an important file,but none the less,it is my file,It mistakenly had a 777 permission( yes ,I know it is a noob's... (1 Reply)
Discussion started by: lordmod
1 Replies
4. Shell Programming and Scripting
Hi,
We are using rsync for syncing remote directories. It is working great along with detailed logs. As the script cron'd and most of the times there're no files to sync we are getting lot of unnecessary log entries and we need to filter them to show only the log entries for the files... (5 Replies)
Discussion started by: prvnrk
5 Replies
5. HP-UX
Hi,
Last day, In one of our unix boxes there was an issue wherein few of the directory structures were missing / got deleted.
Is there any way by which we can find how it happened, I mean by going through syslog / which user had run what command?
Thanks for your help (3 Replies)
Discussion started by: vivek_damodaran
3 Replies
6. Shell Programming and Scripting
Hi,
I am trying to write a script which would go search and get the info from the logs based on yesterday timestamp and write yesterday logs in new file. The log file format is as follows:
""""""""""""""""""""""""""... (3 Replies)
Discussion started by: harish.parker
3 Replies
7. UNIX Desktop Questions & Answers
Hi ,
I am running an application on my windows and it logs are generated at /var/logs and for this i have to go this location and then do tail -f , Is there any command you can advise me so that when I execute this command at this location that logs get displayed fully and as the application... (3 Replies)
Discussion started by: KAREENA18
3 Replies
8. HP-UX
hello,
i just want to know logs files for these actions listed below :
- User Account Creation
- User Account Deletion
- Failed and or Successful User Password Changes
- Failed Login Activities for all User Users
- System Reboot or and shutdown
help appreciated... (1 Reply)
Discussion started by: Bolou
1 Replies
9. UNIX for Dummies Questions & Answers
My problem: Both access and error logs do not rotate any more and get really large.
They are located here: /srv/www/+vHost name here+/logs/
Configuration seems to be here:
/etc/logrotate.conf => looks OK, including "size 10M" to avoid large files
(/etc/logrotate.d => is empty)
manually... (4 Replies)
Discussion started by: floko
4 Replies
10. Shell Programming and Scripting
Appreciate help for the below issue.
Im using below code.....I dont want to attach the logs when I ran the perl twice...I just want to take backup with today date and generate new logs...What I need to do for the below scirpt..............
1)if logs exist it should move the logs with extention... (1 Reply)
Discussion started by: Sanjeev G
1 Replies
LEARN ABOUT DEBIAN
ffsinfo
FFSINFO(8) BSD System Manager's Manual FFSINFO(8)
NAME
ffsinfo -- dump all meta information of an existing ufs file system
SYNOPSIS
ffsinfo [-g cylinder_group] [-i inode] [-l level] [-o outfile] special | file
DESCRIPTION
The ffsinfo utility extends the dumpfs(8) utility.
The output is appended to the file outfile. Also expect the output file to be rather large. Up to 2 percent of the size of the specified
file system is not uncommon.
The following options are available:
-g cylinder_group
This restricts the dump to information about this cylinder group only. Here 0 means the first cylinder group and -1 the last one.
-i inode
This restricts the dump to information about this particular inode only. Here the minimum acceptable inode is 2. If this option is
omitted but a cylinder group is defined then only inodes within that cylinder group are dumped.
-l level
The level of detail which will be dumped. This value defaults to 255 and is the ``bitwise or'' of the following table:
0x001 initial superblock
0x002 superblock copies in each cylinder group
0x004 cylinder group summary in initial cylinder group
0x008 cylinder group information
0x010 inode allocation bitmap
0x020 fragment allocation bitmap
0x040 cluster maps and summary
0x100 inode information
0x200 indirect block dump
-o outfile
This sets the output filename where the dump is written to, and must be specified. If - is provided, output will be sent to stdout.
EXAMPLES
ffsinfo -o /var/tmp/ffsinfo -l 1023 /dev/vinum/testvol
will dump /dev/vinum/testvol to /var/tmp/ffsinfo with all available information.
SEE ALSO
disklabel(8), dumpfs(8), fsck(8), growfs(8), newfs(8), tunefs(8), vinum(8)
HISTORY
The ffsinfo utility first appeared in FreeBSD 4.4.
AUTHORS
Christoph Herrmann <chm@FreeBSD.org>
Thomas-Henning von Kamptz <tomsoft@FreeBSD.org>
The GROWFS team <growfs@Tomsoft.COM>
BUGS
Snapshots are handled like plain files. They should get their own level to provide for independent control of the amount of what gets
dumped. It probably also makes sense to some extend to dump the snapshot as a file system.
BSD
September 8, 2000 BSD