I would like to create a script for calculating size and remaining space of a directory automatically every 24 hours, then send an email to report to the admin.
* POSIX and PERL are preferred.
Can anyone help, please? (1 Reply)
Hi,
Is there any way to calculate the size of a built in data type without using 'sizeof' operator? I also don't have the option to read it from std .h file.
regards
Apoorva Kumar (10 Replies)
hello dont know if this is the correct forum for this post but i have a question.
i am revising for a exam on operating systems and i have the question...
A system has a 32bit virtual address divided into 2kbyte pages and each entry in the page table is 6 bytes in length.
what is the size... (0 Replies)
Hi All,
I am very new to shell scripting. I have a text file which is the output of another utility. This text file has a list of SAF files which is basically a list of orphan attachments in the attachments directory. Now I want to read each file name from the file, get its size and repeat this... (6 Replies)
Hi
I know that to see the size of the lun I need to give the command as "bootinfo -s hdisk*"
Can any one assist me with a script which if run will get the size of all the luns allocated to the server. The output of the script should be something like the one below :
hdisk0 size = 24GB... (2 Replies)
Hey guys.....
I have many files (lets say 100 or more) of same size, and I want to create a new output file and calculate the average of first row fifth column in all files and print it in first row of output file, then 2nd row fifth col in all 100 files and print it in 2nd row of output... (1 Reply)
Hi All,
I have the following time stamp data in 2 columns
Date TimeStamp(also with milliseconds)
05/23/2012 08:30:11.250
05/23/2012 08:30:15.500
05/23/2012 08:31.15.500
.
.
etc
From this data I need the following output.
0.00( row1-row1 in seconds)
04.25( row2-row1 in... (5 Replies)
Can anyone explain what each line of the code does and how it works? I have no experience with python so I am not sure how the arrays and such work. I found this code while looking through the forums.
f = open("exams","r")
l = f.readline()
while l:
l = l.split(" ")
values = l
... (22 Replies)
hi everyone
i have a backup share mounted with me on solaris 10 which have daily backups. everyday i need to calculate all individual sizes of files and need to report somewhere. e.g i have .rman 7backup files daily . what i need that is there any commnd or variation of du command which can add... (1 Reply)
hi everyone
i have posted this query but i dont where it has gone
i am posting again . my issue is that i have many backup files in a backup nfs share and i need to calculate it size just by adding their individual file sizes which is repetitive jobs. so is there any command or variation of du... (1 Reply)
Discussion started by: janakors
1 Replies
LEARN ABOUT DEBIAN
getlist
GETLIST(1) General Commands Manual GETLIST(1)NAME
getlist - get a list from an NNTP server
SYNOPSIS
getlist [ -h host ] [ list [ pattern [ types ] ] ]
DESCRIPTION
The getlist program obtains a list from an NNTP server and sends it to standard output.
The list may be one of active, active.times, distributions, or newsgroups. These values request the active(5), active.times,
/etc/news/distributions, or /var/lib/news/newsgroups files, respectively.
OPTIONS -h If the ``-h'' flag is used, then the program connects to the server on the specified host. The default is to connect to the server
specified in the inn.conf(5) file.
If the list parameter is active, then the pattern and types parameters may be used to limit the output. When pattern is used, only active
lines with groups that match according to wildmat(3) are printed. When types is also given, only active lines that have a fourth field
starting with a character found in types are printed.
For example, the following command will obtain the one-line descriptions of all newsgroups found on UUNET:
getlist -h news.uu.net newsgroups
The following line lists all groups where local postings are permitted, are moderated or aliased:
getlist active '*' ym=
Note that the listing files other than the active file is a common extension to the NNTP protocol and may not be available on all servers.
HISTORY
Written by Landon Curt Noll <chongo@toad.com> for InterNetNews.
SEE ALSO active(5), nnrpd(8), wildmat(3).
GETLIST(1)