03-11-2011
command line util to convert mm to inches etc?
There must be a command line utility to convert metric -> us, mm to inches etc, but I don't remember seeing it. Any suggestions? Anything in the repositories? Thx.
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Write a C shell script "in2ftcm" which uses arithmetic expansion to convert from inches to meters and centimetres, rounded down to the nearest whole number of centimetres. Input should be a whole number of inches, and you may assume. Explain your algorithm to determine the inches from the... (2 Replies)
Discussion started by: Ringo
2 Replies
2. Shell Programming and Scripting
Hello all
is there any way in unix to execute command in multithreaded way
without doing it in java or cpp
can one of the scripts handle multithread execution ?
i need to test server requests ( corba ) in multithread
Thanks (0 Replies)
Discussion started by: umen
0 Replies
3. HP-UX
Hi,
I'm creating a preventive maintenance script (automated) and I would like to get the cpu, mem, disk & network stats which you get when running glance as an output of a command so I can use it in my script
I made some progress though:
this is the command I use
glance -aos... (5 Replies)
Discussion started by: berre
5 Replies
4. Shell Programming and Scripting
Hello,
I have a text file with the following fields:
RecordNumber
Name
Email
Date
Notes
Confirmed
MailingList
The problem is that each field is on a separate line. These seven fields repeat for the length of the file. What I want to do is to have a bash script or similar unitil EOF... (6 Replies)
Discussion started by: vestport
6 Replies
5. Shell Programming and Scripting
Hi all,
I have a single line output like below
echo $ips
10.26.208.28 10.26.208.26 10.26.208.27
want to convert above single line output as below format. Pls advice how to do ?
10.26.208.28
10.26.208.26
10.26.208.27
Regards
Kannan (6 Replies)
Discussion started by: kamauv234
6 Replies
6. Shell Programming and Scripting
im trying to use this shellscript in one command line, but isnt working.
shellscript:
SERVER=ftp.site.com
USER=Foo
PASSW=3122
ftp -v -n $SERVER <<END_OF_SESSION
user $USER $PASSW
$FILETYPE
lcd /home/foo/mywebsite
mput *
mput *.*
bye
END_OF_SESSION
Im trying a lot of... (7 Replies)
Discussion started by: fbs777
7 Replies
7. Shell Programming and Scripting
I need to search the file using strings "Request Type" , " Request Method" , "Response Type" and by using result set find the xml tags and convert into a single line?. below are the scenarios.
Cat test
Nov 10, 2012 5:17:53 AM
INFO: Request Type
Line 1.... (5 Replies)
Discussion started by: laknar
5 Replies
8. Shell Programming and Scripting
HI Guys,
My Input :-
R3 AV44 50 0 100 100 100
R3 AV44 1 0 100 100 100
R3 AV45 50 0 100 100 100
R3 AV45 0 3 100 100 100
R3 AV45S 50 0 100 100 100
R3 AV45S 0 4 100 100 100
Output :-
R3 AV44 50 0 100 100 100 1 0 100 100 100
R3 AV45 50 0 100 100 100 0 3 100 100 100
R3 AV45S 50 0... (9 Replies)
Discussion started by: pareshkp
9 Replies
9. Shell Programming and Scripting
I have file contents
/tmp/x/abc.txt
/home/bin/backup/sys/a.log
I need this output:
/tmp/x/
/home/bin/backup/sys/
Can somebody please help me out
Please use CODE tags as required by forum rules! (3 Replies)
Discussion started by: jhonnyrip
3 Replies
LEARN ABOUT CENTOS
reposctl
REPOSCTL(8) Linux Programmers Manual REPOSCTL(8)
NAME
reposctl - control utility for reposd
SYNOPSIS
reposctl
DESCRIPTION
reposctl is a simple shell program for controling the reposd(8) metric repository daemon. It provides the ability to manipulate the state
of the daemon as well as online loading and unloading of metric repository plugins.
COMMANDS
h
print help message
s
print status of daemon
i
initialize repository service
t
terminate repository service
l pluginlib
load plugin library
u pluginlib
unload plugin library
v pluginlib
view/list metrics supported by plugin library
q
quit/exit control utility
g id
retrieve values for given metric id
f id num
retrieve filtered (top-n, sorted) values for given metric id
r id
list system and type of resource for given metrid id
G
list current global metric filter
F num
set the global metric filter
k
kill gathering daemon
d
start gathering daemon
FILES
/etc/reposd.conf
This file contains the daemon configuration settings. See reposd.conf(5) for more information.
BUGS
The SBLIM project maintains a mailing list to which you should direct all questions regarding sfcb, sfcc, wbemcli, the metric data
gatherer, or any of the SBLIM providers. To subscribe to this list visit:
https://lists.sourceforge.net/lists/listinfo/sblim-issues
Please report bugs you discover to the bug tracker. The SBLIM project bug tracking page can be found at:
https://sourceforge.net/tracker/?group_id=128809&atid=712784
AUTHORS
Please refer to the AUTHORS file distributed with sblim-gather.
COPYRIGHT
Copyright (C) 2003-2012 IBM Corp.
LICENSE
reposctl is distributed under the terms of the Eclipse Public License ("Agreement"). Any use, reproduction or distribution of this program
constitutes recipeients acceptance of the agreement.
You can obtain a current copy of the Eclipse Public License from http://www.opensource.org/licenses/eclipse-1.0.php
SEE ALSO
reposd(8), reposd.conf(5),
sblim-gather-2.2.8 06/17/2014 REPOSCTL(8)