Try the following, and you will see that while you are editing the file, syslog continues to update the log file.
- go to the end of the file in vi and see what is there.
- wait a few minutes to let something loggable happen.
- in a separate window, do a tail on the log file.
- the results will be different, because syslog continues to update the file.
Here is another demo:
When you saved the log file from within vi, you wiped out the changes that syslog had made. Normally, not a good idea to make changes to syslog log file, unless some over-riding benefit.
I run a decent size Solaris 8 network where we use host files and no DNS servers. I have a master host file to push out to all the machines (also would like to do system and services too) but, the only way I've ever been able to do it is buy telneting into the machine and ftping the file into place... (10 Replies)
Hi,
I am parsing a very big file say 10 MB. It 'll take more than an hour ..I want to know the progress say in % .Is there any way to do that???
or
(Is there any way to know which line of the file I am in ) (2 Replies)
Hi, people.
I need some help with this:
i have this file " PROVEDP_???_yyyymmdd " , and i want to rename to this
" IN_PROV_yyyy???.dat " .
The " ??? " is the Month , but the file could be created on April, but the name coulb be March, for example.So i need to grab the 3 caracters
... (2 Replies)
Hi..
Can Anyone out there help me? I need to write a script to convert a file in EDCIDC format to CSV
The files will be transfered through sftp to the box. Is there a way to check the file has finished being transfered or still transfering. so that my conversion task will be performed after... (3 Replies)
Hi All
I have a script which drops a mail with the changes done on crontab file for every 1 hour
Can anyone pls tell me how can I modify the script so that it should display the terminal from which the crontab file hasbeen modified.
Quick responce much appriciated !!
Many thanks in... (7 Replies)
how to use the filehandle stored in a variable without knowing its file association i.e. the filename
code
my $logFH = $connObj->get('logFH');
infoPrint("Variable is of type IO \n") if(UNIVERSAL::isa($logFH, 'IO'));
infoPrint("$logFH\n");
output
== INFO :: Variable is of type... (0 Replies)
Actually i did modification in a file on server by mistake, now its showing current time stamp, is there any way to set the files modified date and stamp to last modifies time.
Please advice here.Thanks in advance.:b: (7 Replies)
So I need some help with this. Pardon me if I'm posting in the wrong forum, after some googling for my answer and finding nothing I found this forum. It seemed appropriate for what I was seeking. I just didnt find a forum that concerned the use of GDB. I'm learning to use the C language and GDB.... (2 Replies)
Hi,
I have a Solaris 10 box where password aging is not functioning properly. Using the passwd command with the -l or -u options causes the lastchg field in the /etc/shadow file to be modified. Therefore, if a user's password is set to expire in 90 days and they are 1 day away, all they have... (4 Replies)
This question could be specific to the site subdivx.com In the past, I've been able to download a file following location using cURL but there is something about subdivx.com that's different and can't figure out how to get it to work.
I tried the following directly in the terminal with no... (5 Replies)
Discussion started by: MoonD
5 Replies
LEARN ABOUT HPUX
df_vxfs
df_vxfs(1M)df_vxfs(1M)NAME
df_vxfs: df - report number of free disk blocks on a VxFS file system
SYNOPSIS
[special|directory]...
DESCRIPTION
prints the number of free blocks and free inodes in VxFS file systems or directories based on the counts kept in the super-blocks.
VxFS dynamically allocates inodes from a pool of free blocks. The number of free inodes and blocks reported by is an estimate based on the
number of free 8K or larger extents and the current ratio of allocated inodes to allocated blocks. (Extents smaller than 8K may not be
usable for all types of allocation, so does not count free blocks in extents smaller than 8K.) Allocating additional blocks may therefore
decrease the count of free inodes and vice versa.
If the operand to is a special device name, the file system can be an unmounted or mounted file system (for example, If you specify a
directoryname, displays information for the file system at that mount point. If neither special nor directory is specified, the free space
on all of the mounted file systems is printed.
Options
recognizes the following options:
Report only the number of kilobytes free.
Report the number of files free.
Report only an actual count of the blocks in the free list
(free inodes are not reported). When this option is specified, reports on raw devices.
Specify the file system type
Report the entire
statvfs(2) structure.
Report the total number of inodes, the number of free inodes, number of used inodes
and the percentage of inodes in use.
Report the allocation in kilobytes.
Report on local file systems only.
Report the file system name. If invoked with no other options this
option prints a list of mounted file system types.
Print the number of free extents of each size.
Free extents are always an integral power of two in length, ranging from a minimum of one block to the maximum extent
size supported by the file system.
Report the total allocated block figures and the number of free blocks.
Report the percentage of blocks used, the number of blocks used and the number
of blocks free. This option cannot be used with other options.
Echo the completed command line, but performs no other action.
The command line is generated by incorporating the user-specified options and other information derived from This
option allows the user to verify the command line.
There are a number of options that specify output formats, some combinations of which are incompatible. If an incompatible combination is
specified, one of the options will override the other(s).
Operands
recognizes the following operands:
directory Name of the mount point from which the VxFS file system is accessed.
special Device name, which contains a mounted or unmounted VxFS file system.
EXAMPLES
Report the number of free disk blocks for all mounted file systems:
Report the number of free extents of each size, for all mounted VxFS file systems:
Report the number of free files for all mounted VxFS file systems:
Report the total allocated block figures and the number of free blocks, for all mounted file systems:
Report the total allocated block figures and the number of free blocks, for the file system mounted as
FILES
File-system devices.
File-system devices.
Static information about the file systems.
mounted-file-system table.
SEE ALSO du(1), df(1M), fsck_vxfs(1M), statvfs(2), fs_vxfs(4), mnttab(4).
STANDARDS CONFORMANCE
: SVID2, XPG2, XPG3
df_vxfs(1M)