Stefan, it's not so much that I want to identify which script, I'm simply trying to get the entire process string to print out when I run the ps command.
Annihilannic, not sure what you mean by "is unable to determine the command line supplied". I looked under /proc/<pid>, and the cmdline file...
Yep, the scripts are exactly the same (in all 1/2 and in 3/4 the packages are the same, only the location is changed).
The section of the ps string I quoted is just the beginning of the process string. It continues on to give the other options. Only reason I stopped there is because it is...
I'm having a very strange problem with a package I just released. If I release the package under one directory, it shows [java] when I do ps, and if I release it in another directory it shows the regular process string (java -Xms512M -Xmx1048M...). At my company, we have our environment set up...
Thanks Annihilannic, I did some experimenting with it (on Solaris), and saw that some conditions would work with [[ whereas they wouldn't with [. I think you're right about using the double one with && and || operators though because I've seen some cases where the conditions fail if I use the...
Ok, so this is a simple question, but I can't find any explanation on google. Anyway, what is the difference between [ and [[ for test conditions? For instance:
if [[ -z $myVar ]] && [[ -z $myVar2 ]]; then
do something
fi
and
if [ -z $myVar ] && [ -z $myVar2 ]; then
do something
fi
1. Ok thanks. Yeah, except for the addition of "myComp2" that was the original /etc/hosts file on my computer.
2. Sorry should have been more specific. Meant only the DNS (if that is actually what it is called) within my LAN. For instance, the hostname within my LAN would be something like...
If I have an NFS server which is exporting several users home directories, and I want to be able to mount the home directories on another box on my LAN, do I need to put each similar to this:
$cat /etc/auto.master
/home auto.home
$cat /etc/auto.home
testUser nfsServer:/export/home/&...
I'm using CentOS 5 (2.6.18-53.1.6.el5) and trying to figure out how all the networking files work together. Ok, so I have a wireless router and have set it up as a DHCP server and I get DNS "automatically from ISP". I realize DNS would not have the hostnames for the computers on my LAN, so I'm...
Fair enough. Yeah, I agree with you on the use of software RAID. There's really no point unless you set it up like hardware RAID (each partition on a seperate physical disk). But that begs the question why you wouldn't set up hardware RAID in the first place!
Actually, what I'd do is scrap...
Uum...stabbing in the dark here, but I believe I read somewhere that it isn't generally a good idea to have all partitions (especially partitions like /boot) located on RAID. Not necessarily because of possible loss of data (as thedaver mentioned), but also because Linux might have some...
Stfaprc, I think what he wants is the log entries between December 12, 2007 and December 13, 2007. Ip addresses wouldn't fall in the 12.12.07 to 13.12.07 range unless that's just a subnet.
Hmm...so it let you create the partitions using fdisk, and immediately after getting out of fdisk, it said they were in use?
As for the other volume group, did it ever work? Try running the commands 'vgs' <-- should show you information about the volume group and 'vgmknodes' <-- this will...
Not really...I'm not sure I really understand it, but I think you can just print to a file. For instance, if you're printing something off in Windows XP, but don't have a physical printer attached to your computer (locally or on the network), a default "printer" is set up which actually just...
Ok, so I'm trying to get more familiar with CUPS, and I've been trying to figure out how to print to a file, and what exactly that is in the first place. I know that when you print to a file, you're not actually printing a file on a printer, but creating a document. Outside of that, I don't...
Hmm...well, not sure what the problem is, but did you do the steps below:
(I'm assuming you don't already have a VG created)
1. fdisk (option n) <-- Create a partition (repeat as needed - all should be type 8e - Linux LVM)
2. Choose option w to write the partition table
3. partprobe /dev/<SAS...
Well, unfortunately, that still didn't work. I did the following in recovery mode:
umount /var <-- Currently mounted on /dev/hdb2
mount /dev/hdb2 /mnt/someDir
cd /var
tar -cpf /root/myTar.tar *
cp /root/myTar.tar /mnt/someDir
cd /mnt/someDir
tar -xpf myTar.tar
rm myTar.tar
Then I rebooted...
Ok, so I am trying to mount /var on a new hard drive I just set up. I had everything working fine (on my primary hard drive), and then I added a new hard drive. I set it up (fdisk, mkfs), and then I tried to set up /var on /dev/hdb2 (the second partition on my new drive). I did the following...
Thanks! Think I'm going to try with CentOS 5 though since the test will probably use RHEL 5. I guess if the base directory isn't there, it's not needed...
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.