Hi all, I have a file that I want to open as a file handle and only retrieve lines that don't have a hash mark, an asterisk, or a line that looks like this:
# ****************************
I have tried /[^#*]/ but it doesn't work. Anyone have any tips?
(root):/> mount /xyz
nfsmnthelp: myhost.com: Error -1 occurred.
mount: giving up on:
myhost.com:/xyz
Error -1 occurred.
Does anyone know what is causing this error or how to fix it? The entry for /xyz exists in /etc/filesystems:
/scm:
dev = "/xyz"
vfs...
Hi, I am new to sed and have a quick question.
I am trying to match the output of the 'java -version' command. However, I onlt want to match from the word 'Classic' onto the end of the line:
java version "1.2.2"
Classic VM (J2RE 1.2.2 IBM build ca122-20041020 (JIT enabled: jitc))
How do I do...
Is there a specific command in AIX that tells you how much free memory the system has available to processes? Is the fre column in vmstat the best way to go?
Thanks.
I am trying to determine the best set of NFS mount options for our environment. Does anyone have any recomendations?
Also, I am a bit confused by the hard vs. soft mounting options. I understand that hard will attempt to mount until the server responds. Does this mean that it wiill attempt up...
On our domain, user accounts expire after 60 days. The users are then prompted to change their password, which they do. Afterwards, everything seems to be okay. Yet, when they try to log back into their machine the next day, their passwords will not take.
We found that if we revert to their...
We are experiencing that our Outlook clients are getting slow connections to the Exchange 2000 server. They occasionally get the "requesting data message" in the lower right hand of the taskbar when Outlook is open.
I was just wondering if this is a known issue and if anyone has experienced...
We have some data files that contain some important data that we need. Unfortunately, the SQL Server they were attached to crashed.
My question is: Is there any possible way to import raw data files into a fresh database?
Thanks in advance.
I seem to be having a problem when trying to run the sshd daemon on my 4.3.3 box:
# sshd
exec(): 0509-036 Cannot load program sshd because of the following errors:
0509-150 Dependent module /usr/local/lib/libz.a(libz.so.1) could not be loaded.
0509-152 Member libz.so.1 is...
Hello, I am attempting to create a filehandle that reads the output of a TSM query (tape drive status) from a file and then creates a hash table of the library drive number and its corresponding status.
Here is what the TSM output file typically looks like:
ANR8330I LTO volume 000165L1 is...
We recently upgraded a few of our servers from AIX 4.3 to 5.1.
Now, the man pages appear to be missing:
# man ls
Manual entry for ls not found or not installed.
# echo $MANPATH
/usr/local/man:/usr/share/man
Yet, it looks like bos.rte.man is installed:
bos.rte.man 5.1.0.35...
We are trying to compile rssh 2.1.0. We are running AIX 5.1 and gcc is version 2.9-aix51-020209. We seem to run into a problem though, and we cannot finish:
> make
make all-am
gcc -c -DHAVE_CONFIG_H -DPATH_RSSH_CONFIG=\"/usr/local/etc/rssh.conf\"...
Hi,
I'm fairly new to scripting in Unix. However, I am trying to write a script that checks running Oracle report processes and kills the processes if the CPU time is greater than 500. Here is my script:
#!/usr/bin/ksh93
count=$(ps -ef|grep oracle.reports|grep -v 'grep'|wc -l) # get count of...
I am writing a script that perfoms admin duties on my Jabber server. I want to be able to connect to my Jabber server through telnet via port 5222 and pass on some XML to the command line. What I need is the output of the telnet session to be redirected to a text file.
Anyone have any ideas...
I am writing a script that perfoms admin duties on my Jabber server. I want to be able to connect to my Jabber server through telnet via port 5222 and pass on some XML to the command line. What I need is the output of the telnet session to be redirected to a text file.
Anyone have any ideas...
I have an output file that contains one very large string, and looks look this:
<who><presence from='username1@myserver.mydomain.com/Exodus' to='username2@myserver.mydomain.com'>
followed by some more non-important data. I want to extract the first e-mail address using sed or awk.
I'm a bit...
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.