I need to use tar to copy files from one directory and extract them into another directory in one step. I think its done something like this...
tar cvf - . | ????
Any ideas ?
Thanks,
P@
In looking at completion times for the 'compress' command it was noticed some larger sized files compressed at a faster rate than smaller ones.
10.5Mb file consistently takes 3s to compress down to 1.5Mb - 3Mb/sec
22kb file consistently takes 25-30s to compress down to 7k - 1kb/sec
both files...
What other possible reason's would there be for a processes 'nice' value to change from 0 to 2. So far I have found the following information...
1. A newly-created process inherits the nice value of it's parent process.
2. The owner of the process can increase it's nice value but cannot lower...
Thanks....
So, if I wanted to limit the amount of swap "all" processes can use down to 400mb I would use;
ulimit -v 400000 (in kbytes)
Can it be set for only certain processes that are giving us problems...(memory leaks) ?
I'm running Solaris 2.5.1 on Ultra II's with 1gb of RAM and 1.5Gb of swap. I'm wondering if there is a setting/configuration that would set the amount of swap a process is allowed to use or is that all handled by the program/application ?
Thanks, that a nice script. But what we were looking to do is to replace "Enlighten" which we currently have only a few licenses for.
So the program would;
1. Configure users and groups-you could "Add, Modify, Copy, Delete, Change Passwds, Lock, Unlock, Expire Passwds, View...
My company is in the proccess of building a 'perl' based application to do the job of "user management" ie: creating accounts, changing passwds,etc...
My job is to find applications already on the market that can be used on both platforms.
Can someone out there give any...
Running Solaris 2.5.1 on a Ultra E4000
I had a ticket opened with SUN, in which /var/adm/messages was not getting written to. We narrowed it down to syslogd being corrupted when messages were written to /dev/console.
In the /etc/syslog.conf I removed all calls to /dev/console;
#...
My variants of grep (Solaris 7) does not understand the following options:
-A NUM, --after-context=NUM
Print NUM lines of trailing context after matching lines.
-B NUM, --before-context=NUM
Print NUM lines of leading context before matching lines.
How else can I get a number...
Instead of laying down a filesystem on a veritas volume we left it RAW, letting a database organize the data.
Converted this data from another veritas filesystem to this RAW volume.
The problem is that the application running against the database is running slower now. It looks like the CPU...
Problem: Somehow a file has been created with a null name in the root partition of a server.
I understand that these files can be created through some bad interaction between PCs running NFS and UNIX systems.
So far I have not been able to remove the null-named file. The technique described in...
In order to have ObjectStore 5.1 manage 2Gb files in a Solaris 2.5.1 environment we have created a 20g striped/mirrored RAW Volume with Veritas not laying a filesystems down on it. The database can be used to organize data on volumes.
---------------------------------------------------------...
I see it now I think, user.none was overwriting user.err
I remove user.none and the logger command works now.
I'll check with the DBA to see if he's getting the information he needs. I may back.
Thanks,
P@
I thought it would be picked up with *.err and also there is another entry in my syslog.conf that reads;
# non-loghost machines will use the following lines to cause "user"
# log messages to be logged locally.
#
ifdef(`LOGHOST', ,
user.err...
Previous to me fiddling with it the /etc/syslog.conf was last changed 2/98. I have copied another from our test environment server. And yes actually stopped (killed) syslogd, did not use -HUP.
This listing in syslog.conf;
*.err;kern.debug;daemon.notice;mail.crit;user.none /var/adm/messages...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.