02-12-2010
Thanks for your prompt and expedient action scottn.
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
hi, i am on aix. i used smitty to remove a user..
but then found that its directory still exists....
so i have to remove the directory manually...
am i doing it the right way? (2 Replies)
Discussion started by: yls177
2 Replies
2. UNIX for Advanced & Expert Users
Hi,
Can anyone please guide me how can I remove/block a user from a server access.
/usr/sbin/adduser -d /home/john john
echo ****** | passwd --stdin john
I used the above command to add a user "john". How do I delete and block john.
Appreciate your responses. (1 Reply)
Discussion started by: sureshcisco
1 Replies
3. Shell Programming and Scripting
hi.. i have a file in the following format :-
name-a
age -12
address-123
age-12
phone-22222
============
name-ab
age -11
address-123
age-11
phone-222223
=============
name-abc
age -12
address-1234
age-12
phone-2222223
============= (2 Replies)
Discussion started by: nipun_garg
2 Replies
4. UNIX for Advanced & Expert Users
I'm having a couple of issues. I'm trying to edit a nagios config and remove a host definition if a certain "host_name" is found. My thought is I would find host definition block containing the host_name I'm looking for and output the line numbers for the first and last lines. Using set, I will... (9 Replies)
Discussion started by: mglenney
9 Replies
5. Shell Programming and Scripting
Hello all,
I have a text files that consists of blocks of text. Each block of text represents a set of Cartesian coordinates for a molecule. Each block of text starts with a line that has a only a number, which is equal to the total number of atoms in the molecule. After this number is a line... (15 Replies)
Discussion started by: marcozd
15 Replies
6. Shell Programming and Scripting
Hello,
Although I have found similar questions, I could not find advice that
could help with our problem.
The issue:
We have several hundreds text files containing repeated blocks of text
(I guess back at the time they were prepared like that to optmize
printing).
The block of texts... (13 Replies)
Discussion started by: samask
13 Replies
7. Shell Programming and Scripting
Hi all,
I want to remove the remove bracket sign ( ) and put in the separate column I also want to remove the repeated entry like in first row in below input (PA156) is repeated
ESR1 (PA156) leflunomide (PA450192) (PA156) leflunomide (PA450192)
CHST3 (PA26503) docetaxel... (2 Replies)
Discussion started by: manigrover
2 Replies
8. UNIX for Beginners Questions & Answers
The bash below executes and does find all the .bam files in each R_2019 folder. However set -x shows that the .bam extension only gets removed from one .bam file in each folder (appears to be the last in each). Why is it not removing the extension from each (this is $SAMPLE)? Thank you :).
set... (4 Replies)
Discussion started by: cmccabe
4 Replies
9. UNIX for Beginners Questions & Answers
I have googled this and found many solutions, but none of them are working for me. I am in a korn shell, most others reference bsh, maybe that is the issue? Anyway, all I am trying to do is use a variable I have declared in my main script in a remote shell I am running through ssh.
So I have a... (8 Replies)
Discussion started by: DJR
8 Replies
vpcd(8) powerman vpcd(8)
NAME
vpcd - virtual power control daemon
SYNOPSIS
vpcd [--port PORT]
DESCRIPTION
vpcd is a test program for PowerMan which emulates a remote power control device. It can be run interactively by the powerman daemon, or
it can listen on a port of your choosing.
OPTIONS
-p, --port PORT
Instructs vpcd to listen for connections on the specified port instead of using stdin/stdout. Only one connection will be accepted.
INTERACTIVE COMMANDS
The following commands are available at the vpcd> prompt:
login The login command must br run before any of the other commands will work. No username or password is required.
logoff Return vpcd to the initial state.
stat PLUG|*
Show the power status of PLUG. If PLUG is ``*'', perform this action on all plugs.
beacon PLUG|*
Show the beacon status of PLUG. If PLUG is ``*'', perform this action on all plugs.
temp PLUG|*
Show the temperature of the node attached to PLUG. If PLUG is ``*'', perform this action on all plugs.
spew COUNT
Print COUNT 80-char lines. This is the basis of a buffer handling test.
on PLUG|*
Turn on PLUG. If PLUG is ``*'', perform this action on all plugs.
off PLUG|*
Turn off PLUG. If PLUG is ``*'', perform this action on all plugs.
flash PLUG|*
Light the beacon on PLUG. If PLUG is ``*'', perform this action on all plugs.
unflash PLUG|*
Unlight the beacon on PLUG. If PLUG is ``*'', perform this action on all plugs.
reset PLUG|*
Reset the node attached to PLUG. If PLUG is ``*'', perform this action on all plugs.
FILES
/usr/sbin/vpcd
ORIGIN
PowerMan was originally developed by Andrew Uselton on LLNL's Linux clusters. This software is open source and distributed under the terms
of the GNU GPL.
SEE ALSO
powerman(1), powermand(8), httppower(8), plmpower(8), vpcd(8), powerman.conf(5), powerman.dev(5), powerman-devices(7).
http://sourceforge.net/projects/powerman
powerman-2.3.5 2009-02-09 vpcd(8)