Discussion Locked

Scrathbook

0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
blog root

3 replies

by muralidharan.raghavan

  • Error message:
           p4_error: semget failed for setnum: 0
    This means that the maximum number of allowed semaphores on the
    master node has been created, and the program you are trying to run
    cannot allocate a new semaphore for inter-process communication. This
    can happen when somebody has been testing software that does not exit
    properly, leaving semaphores and shared memory segments allocated.
    If the leftover semaphores are owned by you, it can be fixed by running the following two commands:
    Run on each machine:    /opt/mpich/gnu/sbin/cleanipcs
    Run on the cluster root:  cluster-fork /opt/mpich/gnu/sbin/cleanipcs

by muralidharan.raghavan

!! - This will execute the last command from history file.
!<char> - This will execute the last command from history, starting with <char>

by muralidharan.raghavan

  • du -Lk <path>: This will give the disk usage statistics for the path.

  • rpm -i mpi*rpm:
    This will install the given RPM file.

  • /etc/init.d/iptables status:
    This will give the status of the iptables in the system.

  • /opt/rocks/sbin/create-account -c "Asif Rahaman " -d /export/home/weland/rahaman -g 380 -s /bin/bash -u 24855 rahaman:
    Create an account in Rocks for user Asif Rahaman and given directory.
  • cluster-fork <cmd>: Runs the command in every system on the cluster.

  • diff <file1> <file2>:
    Finds and lists the difference between the files.
  • scp chaffin@antaeus.hpcc.ttu.edu:/home/chaffin/bash-test .: Secure Copy from one remote location to another.
  • find . -name "chaffin" -print: Used to find the file with name chaffin.
  • rsync --archive --rsh=/usr/bin/ssh ./post hrothgar.hpcc.ttu.edu:/home/chaffin/post: Move the archive post to another system hrothgar.

This discussion is closed to new replies.