05-19-2008
check the /var FS space
Thanks
7 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have to write an script for..
CUST: 123 trans:
some contents
CUST: 1234 trans:
some contents
Now wat i have to do is this:
CUST:123 akash trans:
some contents
CUST:1234 akash1 trans:
I have been able to add... (3 Replies)
Discussion started by: akashag22
3 Replies
2. Solaris
Hi,
I want to send a .tar file from one solaris 5.9 server to another server in order to make files in sync.What method i can use? (2 Replies)
Discussion started by: Renjesh
2 Replies
3. UNIX for Dummies Questions & Answers
awk -F^ '{ if (($1 != "X") && ($5 != "3")) || if (($1 != "S") && ($5 != "2")) print $0}' abc> xyz
The above command returns this error
awk: syntax error near line 1
awk: illegal statement near line 1
I am newbie to awk, Any awk intelligence involved in correcting this issue is highly... (2 Replies)
Discussion started by: karthickrn
2 Replies
4. Shell Programming and Scripting
Hello
Any Unix programm can help me to solve thsi issue:
I have 2 venn digrams please checke the attached file for pictures of venn diagram for eg red is A yellow is B and green is C..Please see attached file for Venn diagrams
In one .....
I have 3 data set A , B and C
Venn diagram... (0 Replies)
Discussion started by: manigrover
0 Replies
5. Shell Programming and Scripting
Disclaimer: I tried searching but wasn't able to get to the answer so please don't flame.
Scenario:
I have a root script that generates a file on box1 and then needs to scp it over to box2 using user1. Both boxes are running open-ssh.
root@locat-host# scp /tmp/file1 user1@box2:/tmp/file1
... (10 Replies)
Discussion started by: denissi
10 Replies
6. Programming
I have mistakenly removed /root/.cabal/ from my root directoty and when I tried to reinstall it I get this output:
faiz:~$ sudo cabal install pandoc --reinstall
Resolving dependencies...
In order, the following will be installed:
pandoc-1.14.0.4 (reinstall)
Warning: Note that reinstalls are... (3 Replies)
Discussion started by: faizlo
3 Replies
7. Shell Programming and Scripting
i have one function block in the beginning of my script and there are some commands inside that function which will perform some operations.
And i am invoking that function from my main script by passing some values. Sometimes it is hanging in the middle for some value.
For example:
For 1st... (3 Replies)
Discussion started by: thomasraj87
3 Replies
LEARN ABOUT DEBIAN
snprimedb
snprimedb,v0.3.8(8) System Manager's Manual snprimedb,v0.3.8(8)
NAME
snprimedb - feed the sn database.
SYNOPSIS
snprimedb [-i] (no arguments)
DESCRIPTION
snprimedb reads records from its standard input and enters them into the database. The database is appended to; if you want to start a new
database, you would delete the database files .chain, .table, .newsgroup before running this program.
The main purpose of snprimedb is to rebuild the ID database. Then its input is usually obtained from snscan.
If the option -i is given, simply initialize the database files if they do not exist, and exit.
Input lines are of the format
newsgroup id serial where newsgroup is the newsgroup the article may be found in, id is its message id, and serial is the local serial num-
ber of that article in that newsgroup. If newsgroup is the special name =junk, then the whole line is ignored.
You will need to be root or the owner of /var/spool/sn to do this.
BUGS
snprimedb does not check to see that the articles really exist. Also the size of the hash table is fixed at compile time.
Under degenerate conditions, the hash table file .chain (see below) could grow very large, with reclaimed space remaining unused. This is
due to the very simple file space allocator, which doesn't know how to coalesce adjacent free areas. It doesn't know how to split them
either. The allocator assumes that the shape of the distribution of record lengths remains quite constant over time.
The hash table database doesn't make any attempt to reduce its footprint. This should be acceptable, since the database is shared.
ENVIRONMENT VARIABLES
SNROOT If this is set and is not empty, the value is used in place of /var/spool/sn, the default news spool directory.
FILES
/var/spool/sn/.table
snprimedb uses this file as the index of the hash table, and ...
/var/spool/sn/.chain
as the hash chains, and ...
/var/spool/sn/.newsgroup
to attach an integer identifier to each newsgroup name. This file is a human-readable flat text file.
N.B. Harold Tay snprimedb,v0.3.8(8)