09-15-2012
To clear all confusions , you all had from my question, let me ask this:
Should du -k and df -k report the same usage or not ? If not then which can be more and approx. with how much percentage.
Dexter.
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I have to do a lot of reporting for the company that I work for and was wondering if anyone had suggestions for a way to create professional looking reports. I currently use Filepro so much that I rarely see the shell. Any help is appreciated. (3 Replies)
Discussion started by: Mike11
3 Replies
2. UNIX for Dummies Questions & Answers
Hi everyone, I'm completely new to the board and to UNIX and I have the following question regarding a script I am building.
I am trying to copy an entire directory into a new directory and I was wondering if there is any way of printing on screen a progress report, for example a percentage. It... (9 Replies)
Discussion started by: Ypnos
9 Replies
3. SCO
hi,
i m having a sco unix system...i want to store the output of dfspace command ie %free space of each partition to different variable so that i can use it for further processing.......can anybody pls help me out
thx
girish (1 Reply)
Discussion started by: girish_shukla
1 Replies
4. Shell Programming and Scripting
Hi:-
I am working on an audit report that produces a monthly summary of account activity on a particular AIX host. I am struggling with su activity and failed logins as these tend to come back with more then a month's data.
Is there a easy way that these files can be rotated/cleaned out on a... (1 Reply)
Discussion started by: janet
1 Replies
5. UNIX for Dummies Questions & Answers
I am very new to unix/linux and am unsure how to do the following tasks within my script
1) append a log file and add a timestamped echo "Error occured" to it, if posibble to print it to file and on screen at the same time would be even better.
2) As my main script will be calling on a couple... (1 Reply)
Discussion started by: shamwick
1 Replies
6. Filesystems, Disks and Memory
Hi.
How do you guys, monitor/report your Storage environment? I have people (don't we all? ) that like to have monthly reports on space (raw/assigned/available), ports available/used, switches and the such.
Do you use anything special? Or are you like me, a nice big Excel spreadsheet? How... (1 Reply)
Discussion started by: Stephan
1 Replies
7. Shell Programming and Scripting
I need to accomplish the following task -
I have a number of accounts for a number of applications that i deploy on a unix server. There are a number of directories for each account in /prod/apps directory. eg. For an account Application1 I have /prod/apps/Application1_1 /prod/apps/Application1_2... (4 Replies)
Discussion started by: niranjandighe
4 Replies
8. Solaris
Hi,
I am hunting for a low cost Monitoring & Reporting Tool for the SUN Environment.
I have all and all SUN Environment with LDOMs, Zones.
The monitoring Tool
1. Hardware failure.
2. Disk space and failure.
3. LDOMS,Zones.
4. CPU,Memory Utilization.
5. ping,URL Monitors
6. Send... (4 Replies)
Discussion started by: menonk
4 Replies
9. Shell Programming and Scripting
Below is a typical report
each of the lines represent the fields in the report
component1
component2
<pattern>
..
..
n lines ...
..
VIOL = 2
the command should display
component1
component2
VIOL = 2
only if pattern field of the report is "good"
component1 and... (8 Replies)
Discussion started by: dll_fpga
8 Replies
LEARN ABOUT CENTOS
approx.conf
APPROX.CONF(5) File Formats Manual APPROX.CONF(5)
NAME
approx.conf - configuration file for approx proxy server
SYNOPSIS
/etc/approx/approx.conf
DESCRIPTION
Each non-blank line of the configuration file should contain a name/value pair, separated by white space. Comments start with a "#" char-
acter and continue to the end of the line.
Names that begin with the "$" character are reserved for use as configuration parameters. The following parameters are currently defined:
$cache Specifies the location of the approx cache directory (default: /var/cache/approx). It and all its subdirectories must be owned by
the approx server (see also the $user and $group parameters, below.)
$interval
Specifies the time in minutes after which a cached file will be considered too old to deliver without first checking with the remote
repository for a newer version (default: 60)
$max_rate
Specifies the maximum download rate from remote repositories, in bytes per second (default: unlimited). The value may be suffixed
with "K", "M", or "G" to indicate kilobytes, megabytes, or gigabytes per second, respectively.
$max_redirects
Specifies the maximum number of HTTP redirections that will be followed when downloading a remote file (default: 5)
$user, $group
Specifies the user and group that owns the files in the approx cache (default: approx)
$syslog
Specifies the syslog(3) facility to use when logging (default: daemon)
$pdiffs
Specifies whether to support IndexFile diffs (default: true)
$offline
Specifies whether to deliver (possibly out-of-date) cached files when they cannot be downloaded from remote repositories (default:
false)
$max_wait
Specifies how many seconds an approx(8) process will wait for a concurrent download of a file to complete, before attempting to
download the file itself (default: 10)
$verbose
Specifies whether informational messages should be printed in the log (default: false)
$debug Specifies whether debugging messages should be printed in the log (default: false)
The other name/value pairs are used to map distribution names to remote repositories. For example,
debian http://ftp.debian.org/debian
security http://security.debian.org
TCP PORT NUMBER
The port on which approx(8) listens is not specified in this file, but in /etc/inetd.conf. The default value is 9999, for compatibility
with apt-proxy(8), but it may be changed by running the command
dpkg-reconfigure approx
SEE ALSO
approx(8), approx-gc(8), inetd(8)
AUTHOR
Eric Cooper <ecc@cmu.edu>
Apr 2012 APPROX.CONF(5)