10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have been searching and reading about syslog. I would like to know how to Transfer the logs being thrown into /var/log/messages into another file example /var/log/volumelog.
tail -f /var/log/messages
dblogger: msg_to_dbrow: no logtype using missing
dblogger: msg_to_dbrow_str: val ==... (2 Replies)
Discussion started by: kenshinhimura
2 Replies
2. Shell Programming and Scripting
i try to find way to make string concatenation in csh ( sorry this is what i have )
so i found out i can't do :
set string_buff = ""
foreach line("`cat $source_dir/$f`")
$string_buff = string_buff $line
end
how can i do string concatenation? (1 Reply)
Discussion started by: umen
1 Replies
3. Solaris
Hi,
Is the contents in /var/log/syslog and /var/adm/messages are same??
Regards (3 Replies)
Discussion started by: vks47
3 Replies
4. Solaris
what is the difference between tha /var/adm and /var/sadm files in solaris 10 Os
please can any one respond quickly
thanking you (2 Replies)
Discussion started by: wkbn86
2 Replies
5. UNIX for Dummies Questions & Answers
Hi
I want to know what is the difference between $var and ${var}. :D
I saw in few of the scripts examples.Somewhere people use $var and somewhere ${var}.
Is there any difference between two ? :confused:
Thanks (4 Replies)
Discussion started by: dashing201
4 Replies
6. Solaris
Hello, I recently found that my /var/sadm/install/contents, ~/admin/default, /var/spool/patch and /var/spool/pkg files were empty.
This broke the pkginfo, pkgchk and other package related tools.
The pkgmap no longer points to where the applications have been installed.
I have replaced the... (0 Replies)
Discussion started by: ronin42
0 Replies
7. Solaris
hi sirs
can u tell the difference between /var/log/syslogs and /var/adm/messages
in my working place i am having two servers.
in one servers messages file is empty and syslog file is going on increasing..
and in another servers message file is going on increasing but syslog file is... (2 Replies)
Discussion started by: tv.praveenkumar
2 Replies
8. UNIX for Dummies Questions & Answers
Hi all
Just a couple days ago my /var/ partition was at 63% now its shot up to 83%.
I checked my log file sizes and they same ok
# ls -l |more
total 38820
-rw-r----- 1 root root 3754 Aug 1 19:26 acpid
drwxrwxrwx 2 root root 4096 Aug 24 04:11 admserv
-rw------- ... (28 Replies)
Discussion started by: mcraul
28 Replies
9. Solaris
Hi experts,
I am facing a big problem. i use solaris 9. i found size of /var is increasing day by.
snapshot of a yester moring-
/dev/vx/dsk/var 15G 14G 1.1G 94% /var
snapshot of a yesterday everning-
/dev/vx/dsk/var 15G 14G 824M 95% /var
I am... (11 Replies)
Discussion started by: thepurple
11 Replies
10. HP-UX
Hi Experts,
I am not sure whether my question should be in this thread or some other one. I am using HP Tru64 system.
Currently one of my filesystem /others is almost full. I need to know the exact commands to increase this filesystem. Please show me how to check for free partitions and add... (5 Replies)
Discussion started by: kingsto88
5 Replies
df(1B) SunOS/BSD Compatibility Package Commands df(1B)
NAME
df - display status of disk space on file systems
SYNOPSIS
/usr/ucb/df [-a] [-i] [-t type] [filesystem...]
[filename...]
DESCRIPTION
The df utility displays the amount of disk space occupied by currently mounted file systems, the amount of used and available space, and
how much of the file system's total capacity has been used.
If arguments to df are path names, df produces a report on the file system containing the named file. Thus `df .' shows the amount of
space on the file system containing the current directory.
OPTIONS
The following options are supported:
-a Report on all filesystems including the uninteresting ones which have zero total blocks (that is, auto-mounter).
-i Report the number of used and free inodes. Print ` * ' if no information is available.
-t type Report on filesystems of a given type (for example, nfs or ufs).
EXAMPLES
Example 1 Using df
A sample of output for df looks like:
example% df
Filesystem kbytes used avail capacity Mounted on
sparky:/ 7445 4714 1986 70% /
sparky:/usr 42277 35291 2758 93% /usr
Note that used+avail is less than the amount of space in the file system (kbytes); this is because the system reserves a fraction of the
space in the file system to allow its file system allocation routines to work well. The amount reserved is typically about 10%; this can be
adjusted using tunefs (see tunefs(1M)). When all the space on a file system except for this reserve is in use, only the super-user can
allocate new files and data blocks to existing files. When a file system is overallocated in this way, df can report that the file system
is more than 100% utilized.
FILES
/etc/mnttab List of file systems currently mounted
/etc/vfstab List of default parameters for each file system
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWscpu |
+-----------------------------+-----------------------------+
SEE ALSO
du(1), quot(1M), tunefs(1M), mnttab(4), attributes(5)
SunOS 5.11 14 Sep 1992 df(1B)