Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. lazyrunner50

    [java] versus java -Xms512M -Xmx... Linux ps problem

    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...
  2. lazyrunner50

    [java] versus java -Xms512M -Xmx... Linux ps problem

    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...
  3. lazyrunner50

    [java] versus java -Xms512M -Xmx... Linux ps problem

    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...
  4. lazyrunner50

    Kshell test function

    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...
  5. lazyrunner50

    Kshell test function

    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
  6. lazyrunner50

    Hosts/DNS/DHCP confusion

    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...
  7. lazyrunner50

    Automounting home directories

    Ok yeah, forgot about that, however, with NIS, you don't need to put the username/password in the passwd file.
  8. lazyrunner50

    Automounting home directories

    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/&...
  9. lazyrunner50

    Hosts/DNS/DHCP confusion

    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...
  10. lazyrunner50

    RHEL 4 crashes after installation.

    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...
  11. lazyrunner50

    RHEL 4 crashes after installation.

    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...
  12. lazyrunner50

    How to extract data from a large log file?

    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.
  13. lazyrunner50

    RHEL 5 issue

    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...
  14. lazyrunner50

    Using IPP/SMB with CUPS to print to file

    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...
  15. lazyrunner50

    Using IPP/SMB with CUPS to print to file

    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...
  16. lazyrunner50

    RHEL 5 issue

    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...
  17. lazyrunner50

    Killed /var...now what?

    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...
  18. lazyrunner50

    Killed /var...now what?

    Cool ok thanks everyone. I'll try the suggestions. QatQat - Sorry, but how do it do it the "good old way"? Hoinz - I just did cp -r /var /mnt/someDir
  19. lazyrunner50

    Killed /var...now what?

    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...
  20. lazyrunner50

    Installing RHEL over HTTP from Windows on local network

    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...

Part and Inventory Search

Back
Top