Sponsored Content
Full Discussion: Give the command names
Top Forums UNIX for Dummies Questions & Answers Give the command names Post 302159642 by Yogesh Sawant on Friday 18th of January 2008 06:32:00 AM
Old 01-18-2008
to know memory utilization, use the free command
to know cpu utilization, use top command
i've never heard of a command to obtain sever capacity

Last edited by Yogesh Sawant; 07-27-2008 at 09:16 AM..
 

10 More Discussions You Might Find Interesting

1. AIX

command to give me Database

Which is command I could used, to give me the kind of database ,size of database and version of database ? (4 Replies)
Discussion started by: magasem
4 Replies

2. Shell Programming and Scripting

how to give a variable to a command in shell script...

hi all... I am executing a comman in a shell script but the command needs a user input of character 'y' as input so it stops in between...may i know is there is any way of giving that character as input in the shell script itself???...thanks in advance.... (6 Replies)
Discussion started by: santy
6 Replies

3. Shell Programming and Scripting

if i give this command what would be the value...

if i give dir=/tmp/${0##*/} what would b the value stored in dir ..i'm more concerned about the 0##*/ part.. (1 Reply)
Discussion started by: suri
1 Replies

4. Shell Programming and Scripting

Can we give multiple patterns to a sed command???

HI, I want to know can multiple pattern be given inside a sed statement.. Input: aa_bb_cc.Mar-22-2007 cc_dd_ee.Mar-21-2007 aa_1002985_952.xml aa_bb_032207.txt aa_bb_cc_10002878.dat Output: aa_bb_cc cc_dd_ee aa.xml aa_bb.txt aa_bb_cc.dat (6 Replies)
Discussion started by: kumarsaravana_s
6 Replies

5. UNIX for Dummies Questions & Answers

how to give PASSPHRASE to gpg in command line?

Hello sir, I am using "gpg" command to encrypt a file. We generally do it :- then it asks us for :- I want to know how to give this Passphrase in the command line itself !!!I did read the man page but couldnt make out what is the option for it.Can u please help me out !!! (2 Replies)
Discussion started by: nsharath
2 Replies

6. Red Hat

ls command to give full path to files

How can i perform a ls or other command to list the full paths of files from a ls? Looked through the man page for ls, no luck $ cd /tmp/ $ ls -l total 6 drwx------ 2 root root 4096 Nov 7 2008 keyring-7b5rMv drwx------ 2 bcr bcr 4096 Dec 7 2007 keyring-cGhir8 $ I'd be looking for... (1 Reply)
Discussion started by: brendan76
1 Replies

7. Shell Programming and Scripting

how to give names to fields

Hi, one of the queries has given the output in the following format: 1330 2130 2330 how do I assign a name to each of these fields to make the output appear in the following format Mon 1330 Tue 2130 Wed 2330 thanks in advance Use code tags please, ty. (3 Replies)
Discussion started by: swasid
3 Replies

8. UNIX for Dummies Questions & Answers

What will echo $$ command give

Hi I tried giving the following command echo $$a I got an output like 32178a Can some one please explain why echo $$ is returning 32178 Thanks in advance (6 Replies)
Discussion started by: Sri3001
6 Replies

9. UNIX for Dummies Questions & Answers

Split a file and give custom names

Hello, I want to split a file based on an input list file that contains the lines each split should have + a corresponding file name. #!/bin/sh # sed -n 'start_line_#,end_line_#p' my_input_file > lines_extracted_output_file while read a b c do sed -n '$a,$bp' myLarge.file > $c.split... (2 Replies)
Discussion started by: Gussifinknottle
2 Replies

10. UNIX for Beginners Questions & Answers

How do I give permission for the kill command?

<?php $comando = "kill -9 3104"; $output = shell_exec($comando); ?> I am running this web page, but it does not execute the command, in the log file it looks like this: sh: 1: kill: Operation not permitted How do I give permission to execute the command? (1 Reply)
Discussion started by: Rodrigo_Bueno
1 Replies
lsdistcc(1)						      General Commands Manual						       lsdistcc(1)

NAME
lsdistcc - simple distcc server discovery SYNOPSIS
lsdistcc [OPTIONS] [FORMAT] lsdistcc [OPTIONS] host1 ... DESCRIPTION
lsdistcc autodetects listening distcc servers either by looking in DNS for hosts named according to a given FORMAT, or by checking the host names given on the command line. Hosts are considered good servers based solely on whether their name fits the format and whether they are listening on the right port (and optionally whether they respond when you send them a compile job). Scans for hosts named according to FORMAT (default is "distcc%d"; see printf(3)) and starting from 1, so hosts such as distcc1, distcc2, and so on. Stops after 7 seconds or the first host name that does not resolve. Prints the names of all such servers listening on distcc's port. If a list of host names is given in the command line, lsdistcc will only check those hosts. OPTIONS
--help Displays summary instructions -l Output latency in milliseconds after each hostname (not including DNS latency) -n Print IP address rather than name -x Append ,down to down hosts in host list -tTIMEOUT Set number of seconds to stop searching after [7] -hHTIMEOUT Set number of milliseconds before retrying gethostbyname [500] -cCTIMEOUT Set number of milliseconds before giving up on connect [900] (0 to inhibit connect) -kKTIMEOUT Set number of milliseconds before giving up on compile [1500] (0 to inhibit compile) -mBITS Set number of bits of address that must match first host found [0] -oOVERLAP Set number of extra DNS requests to send [1] -gDNSGAP Set number of missing DNS entries to tolerate [0] -rPORT Port to connect to [3632] -PPROTOCOL Protocol version to use (1-3) [1] -pCOMPILER Name of compiler to use [none] -d Append DNS domain name to format -v Verbose EXAMPLES
Scan for servers named distcc1, distcc2, ... that provide a compiler named gcc-4.6 and include their latencies in the output: $ lsdistcc -l -pgcc-4.6 Scan for a compiler named gcc-4.6 on the servers hosta, somehost, hostx, and hosty: $ lsdistcc -pgcc-4.6 hosta somehost hostx hosty To use the program in a build script, add the lines: DISTCC_HOSTS=`lsdistcc` export DISTCC_HOSTS before the line that invokes make. Or, in a Makefile, add the line: export DISTCC_HOSTS = $(shell lsdistcc) EXIT STATUS
The exit status is 0 if any servers were found, and 1 otherwise. Uses 'for i=1... sprintf(format, i)' to construct names of servers, stops after 7 seconds or at second server that doesn't resolve, prints the names of all such servers listening on distcc's port. Default format is distcc%d. SEE ALSO
distcc(1), distccd(1), printf(3) http://code.google.com/p/distcc/ AUTHOR
lsdistcc was written by Dan Kegel, Dongmin Zhang, and Manos Renieris. This manual page was written by Daniel Hartwig for the Debian project. 1 May 2012 lsdistcc(1)
All times are GMT -4. The time now is 06:29 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy