Hi,
As a first step to tackling this problem, is there anyway to cut a line from the file if it begins with either a "0" a "1" or a "2"?
If so I could be well on my way to solving the problem.
Cheers
Hi,
I have recently enabled performance monitoring on our server which produces a file and e-mails us every day. I'm trying to write a script which will ignore the textual info but take the numerical data and sort it into a csv file, allowing me to import it into excel to produce graphs of data...
Hi,
I'm trying to configure NTP on Solaris 8 but I can't seem to find the solution to my problem.....
I have managed to sync a Solaris 8 machine with our NT time server by adding the relevent entry into the ntp.conf file but my success seems to stop there. I'm told I'll need an ntp.drift file...
Thanks Dickie Bird!
Do you think that adding this line to the top of the "for" loop (replacing the one that's there already) would do enough without me needing any of the syntax in my first post?
for HELD_FILE in `ls -1 |grep -v tmp$`
do
etc....................
By the looks of it I...
Hi All,
In update to my own problem........
The above script is only a very small section of a much larger one.
I think I may have found the solution myself.
If I modify this "for" loop to prevent the script from acting on "field 2" and make it act on ".chm"...
Hi All,
I'm looking for a solution to the following problem.....
1) Files are transferred to a directory (/dir_path/import) from another server using FTP.
2)Once the FTP process is complete the script renames the file from "*.chm.tmp" to ".chm" - In other word the...
Hi,
I need to write a script that will prompt the user, through a menu, to move all files which match a particular search string (*.abc*) within a directory to a target directory.
I need the user to be prompted for every file, not just files which already exist in the target directory (mv -i...
Hi,
Has anybody installed the SMC agent onto Solaris 2.7 and experienced performance problems soon after? I've installed it on Solaris 2.6 and 8 and everything works fine. The software kicks off an instance of "cfgadm" which causes the server to perform like a one legged asthmatic...
Hi,
My dfstab file contains nothing. It's just the standard file that comes with the install. I create the share from the commands line. When I type "share" it looks like this;
- /cdrom/sol_8_202_sparc_2 ro ""
It's the Solaris 8 software 2 of 2 cd and I'm trying to...
Hi Naggiman,
I've created the share and typed dfshares but I get the following error;
nfs dfshares:<host>: RPC: Program not registered
I've made sure that rpc and nfs are running by running a grep from the ps -ef output. They return the following;
# ps -ef |grep rpc
root 104 1 0...
Hi,
I'm trying to remotely mount a cdrom drive onto a server without any success. Both machines have a standard version of Solaris 8 installed.
On the machine with the CD drive I have setup a share as follows;
share -F nfs -o ro /cdrom/cdrom0
On the remote machine I have typed the command...
Hi,
I've edited my /etc/vfstab but seem to have made a mistake:-( As a result, the system won't boot and keeps looping as it tries to "resync filesystems".
Does anybody know of any other ways to interupt the boot sequence to get it back to the OK prompt other than ~. CTRL ] or stop...
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.