10 More Discussions You Might Find Interesting
1. Homework & Coursework Questions
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
Print out problem with line follow:
echo There are '$cat $fname | wc -l' contacts in database
how do I replace... (2 Replies)
Discussion started by: scopiop
2. Shell Programming and Scripting
I am trying to write a bash e-mailer script on a host that has a bunch of CPUs and makes use of all of them. It e-mails a huge list of people, so I wanna save time running this script if I can.
for uid in `echo $members`
/usr/sbin/sendmail -t < $tmp
waitWhat... (5 Replies)
Discussion started by: stevensw
3. Shell Programming and Scripting
Here is the question...
Create a new script, sub2, taking three parameters...
1.) the string to be replaced
2.) the string with which to replace it
3.) the name of the file in which to make the substitution
...that treats the string to be replaced as plain text instead of as a regular... (1 Reply)
Discussion started by: johnhisenburg
4. Shell Programming and Scripting
My script is as follows:
output i am geting
but my need is:
/bldtmp/test (1 Reply)
Discussion started by: dchoudhury
5. Shell Programming and Scripting
I am trying to figure out if there is a way to make linux take me back to the previous directory I was working in. For instance, I am in
Then if I cd into /home/username/directory1/temp1/temp2/temp3
I would like to immediately go back to the previous... (2 Replies)
Discussion started by: Legend986
6. UNIX for Advanced & Expert Users
I have a p570 server with 2 LPARs on it. One of my colleagues did a firmware upgrade on it over the weekend but I have not been able to bring it back online since.
I go to activate the partition from the HMC and it gets stuck on the C20082FF operator panel and just freezes from there.
Does... (2 Replies)
Discussion started by: KeesH
7. UNIX for Advanced & Expert Users
I am not able to get the response back from weblogic in the shell script.
The weblogic server in different account. I am able to login to that account and bring the server up but while doing a ping, the script is failing. While the same script is running fine if I run it on the account... (1 Reply)
Discussion started by: splax
8. Shell Programming and Scripting
I have 5 sub processes which are updating and commiting different records of a single table.I have a problem here.I want to rollback all the transaction if any one of processes fails.Can any one of you gurus suggest how to go about it ?
Tushar Johri (3 Replies)
Discussion started by: tushar_johri
9. UNIX for Dummies Questions & Answers
I recieve 553 5.3.4 mail.xxxx.com config error: mail loops back to me (MX problem?) when I try to send email from client . The message reaches the server and dies there
I'm using sendmail 8.12.9 on OpenBSD 3.3. I can check mail on client with no problem
Thanks for any help (5 Replies)
Discussion started by: bluehell
10. UNIX for Dummies Questions & Answers
I am facing some problem taking INCREMENTAL Back up of file systems...........Actually i have mounted the file system of one server in another server..as i don't have tape drive in both servers...............i am using HPUX(L class and C class)servers..
can any one help me ... (1 Reply)
Discussion started by: Prafulla
cachefslog(1M) System Administration Commands cachefslog(1M)
cachefslog - Cache File System logging
cachefslog [-f logfile | -h] cachefs_mount_point
The cachefslog command displays where CacheFS statistics are being logged. Optionally, it sets where CacheFS statistics are being logged,
or it halts logging for a cache specified by cachefs_mount_point. The cachefs_mount_point argument is a mount point of a cache file system.
All file systems cached under the same cache as cachefs_mount_point will be logged.
The following options are supported. You must be super-user to use the -f and -h options.
-f logfile Specify the log file to be used.
-h Halt logging.
cachefs_mount_point A mount point of a cache file system.
See largefile(5) for the description of the behavior of cachefslog when encountering files greater than or equal to 2 Gbyte ( 2**31 bytes).
Example 1: Checking the Logging of a directory.
The example below checks if the directory /home/sam is being logged:
example% cachefslog /home/sam
not logged: /home/sam
Example 2: Changing the logfile.
The example below changes the logfile of /home/sam to /var/tmp/samlog:
example# cachefslog -f /var/tmp/samlog /home/sam
Example 3: Verifying the change of a logfile.
The example below verifies the change of the previous example:
example% cachefslog /home/sam
Example 4: Halting the logging of a directory.
The example below halts logging for the /home/sam directory:
example# cachefslog -h /home/sam
not logged: /home/sam
The following exit values are returned:
non-zero an error has occurred.
See attributes(5) for descriptions of the following attributes:
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
|Availability |SUNWcsu |
cachefsstat(1M), cachefswssize(1M), cfsadmin(1M), attributes(5), largefile(5)
Invalid path It is illegal to specify a path within a cache file system.
SunOS 5.10 7 Feb 1997 cachefslog(1M)