Sponsored Content
Top Forums Shell Programming and Scripting need to get the desired output Post 302555973 by clx on Friday 16th of September 2011 08:22:33 AM
Old 09-16-2011
Quote:
Originally Posted by anuragpgtgerman
Output:-


Please review the log file of auto coloclean utility. ========================================================================================== ========================================================================================== Started on/at : "Fri Sep 16 10:09:18 GMT 2011" Completed on/at : "Fri Sep 16 10:16:17 GMT 2011" ========================================================================================== Final Space statistics for mount points having space utilization >=95%. ========================================================================================== "Filesystem Size Used Avail Use% Mounted on" "/dev/rootvg/rootlv 1008M 958M 0 100% / 16G 14G 2.3G 86% /mnt/projects/stp2qa1_app_runtime 16G 14G 2.6G 85% /mnt/projects/stp2int1_web_runtime 13G 11G 1.8G 86% /mnt/projects/stp2perf1_web_runtime 13G 11G 1.8G 86% /mnt/projects/stp2perf2_web_runtime 16G 14G 2.3G 86% /mnt/projects/ual1int1_web_runtime" To see the contents of the log file either use: zcat -or- uncompress and then cat .


The desired output is still unclear. Please re post it using code tags.
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Help me in getting the desired output

I wanted to put "|" this sign at starting and at end of every field but its not working with first field like Currently the out put is : abc | abc | abc | xyz | xyz | xyz | But I want the out put in this form: | abc | abc | abc | | xyz | xyz | xyz | plz help me. (2 Replies)
Discussion started by: akash
2 Replies

2. Shell Programming and Scripting

script not giving the desired output

Hi, I have a script in which an entry like this ..... FILENAME_B="PIC_${DATE}0732*.JPG" The script connects to an ATM and pull a pic file from it.The format for the file is like PIC_2008061400000001.JPG in the ATM. Means 1st 8 digit is the date(YYYYMMDD) field 2nd 8 digit means hrs... (2 Replies)
Discussion started by: Renjesh
2 Replies

3. Shell Programming and Scripting

how to get desired output after redirection

hi i am running script which contains the commmnds and i am redirecting the script output to a file. like ./script 1> result.txt 2>&1 the above redirection is not working for commands when run in background in a script. but the problem here result.txt containg output which is repeated.... (3 Replies)
Discussion started by: raji
3 Replies

4. Shell Programming and Scripting

SED - output not desired

echo '0x3f 0xfa ae 0xeA' | sed '/0x/ y/abcdef/ABCDEF/' output: 0x3F 0xFA AE 0xEA echo '0x3f 0xfa ae 0xeA' | sed -r '/0x{2}/ y/abcdefg/ABCDEFG/' output: 0x3F 0xFA AE 0xEA my expected output: 0x3F 0xFA ae 0xEA What I want to achieve is change all hexadecimals to UPPER case(only those... (6 Replies)
Discussion started by: kevintse
6 Replies

5. Shell Programming and Scripting

Need your help to get the output of the list in desired format

Hello Guys, I am working on a script and using the below code to fetch the list of all repositories CHDIR='/mnt/scm/subversion/' repolist() { cd ${CHDIR} Repo=`ls|cut -d " " -f1` echo $Repo } Output of the above code is BSB CIB COB DCI DIB DSB ESB-P ESB-TOOLS FareVerify GCACHE GWY... (15 Replies)
Discussion started by: rohit22hamirpur
15 Replies

6. Shell Programming and Scripting

How to grep the desired output and output to a file?

currently I have process from a raw file to this stage ALTER TABLE "EXCEL_ADMIN"."TC_TXN_VOID" ADD CONSTRAINT "PK_TC_TXN_VOID" PRIMARY KEY ("TC_TXN_IID") ALTER TABLE "EXCEL_ADMIN"."TC_TXN_AMT" ADD CONSTRAINT "PK_TC_TXN_AMT" PRIMARY KEY ("TC_TXN_AMT_IID") ALTER TABLE... (10 Replies)
Discussion started by: jediwannabe
10 Replies

7. Shell Programming and Scripting

Unable to obtain the desired output

Hi, I am unable to get beyond the exit function. The shell script is used to look for masked files and copy paste them to another location. Please refer to the code below for more information. Thanks Brinjit #!/usr/bin/ksh... (10 Replies)
Discussion started by: brinjit
10 Replies

8. Shell Programming and Scripting

Help!! needed to get the desired output

Am in need of your help to get the desired output. nameSECURITY.SERVICES.CONFIG:GETVALUEisPrefetchedNsAccessLast2013-09-13 10:50:13 MESTsAccessTotal1sRunningcHitLastnamePUBLIC.SERVER:INVOKEisPrefetchedNsAccessLast2013-09-17 15:02:05... (5 Replies)
Discussion started by: rocky2013
5 Replies

9. Shell Programming and Scripting

Output not coming as desired.

Hi guys. I have a file containing some hosts and their IPs. host host1 192.168.2.10 host host2 192.168.2.11 host host3 192.168.2.12 I am writing a script where I want to print these values in 1 line. My script looks like RUNTIME_NODE=`cat hosts.properties | grep host` for i in... (7 Replies)
Discussion started by: Junaid Subhani
7 Replies

10. Shell Programming and Scripting

Pgrep not showing desired output

I am searching for a process that should be up and running. Im using the following command ps -ef | grep elasticsearch to get elastic+ 1673 1 0 Jan29 ? 05:08:56 /bin/java -Xms4g -Xmx4g -Djava.awt.headless=true -XX:+UseParNewGC -XX:+UseConcMarkSweepGC... (1 Reply)
Discussion started by: Junaid Subhani
1 Replies
CONSOLEFS(4)						     Kernel Interfaces Manual						      CONSOLEFS(4)

NAME
consolefs, C - file system for console access SYNOPSIS
aux/consolefs name dev [ name dev ... ] C system DESCRIPTION
To ease administration of multiple machines one might attach many serial console lines to a single computer. Consolefs is a file system that lets multiple users simultaneously access these console lines. Each name/dev pair represents the name of a console and the serial line device associated with it. Consolefs presents a single level directory with two files per console: name and namectl. Writes of name are equivalent to writes of dev and reads and writes of namectl are equivalent to reads and writes of devctl. Consolefs broadcasts any- thing it reads from dev to all readers of name. Therefore, many users can con(1) to a name, see all console output, and enter commands to the console. To keep users from inadvertently interfering with one another, notification is broadcast to all readers whenever a user opens or closes name. For example, if user boris opens a console that users vlad and barney have already opened, all will read the message: [+boris, vlad, barney] If vlad then closes, boris and barney will read: [-vlad, boris, barney] Consolefs posts the client end of its 9P channel in /srv/consolefs; mount (see bind(1)) this file to see the consoles. An example of 2 consoles complete with console logging is: % aux/consolefs bootes /dev/eia0 fornax /dev/eia1 % mount /srv/consoles /mnt/consoles % ls -p /mnt/consoles bootes bootesctl fornax fornaxctl % cat /mnt/consoles/fornax >> /sys/log/fornax & % cat /mnt/consoles/bootes >> /sys/log/bootes & The rc(1) script C automates this procedure. It uses import(4) to connect to /mnt/consoles on the machine connected to all the consoles, then uses con(1) to connect to the console of the machine system. The script must be edited at installation by the local administration to identify the system that holds /mnt/consoles. FILES
/srv/consoles Client end of pipe to server. SOURCE
/sys/src/cmd/aux/consolefs.l /rc/bin/C CONSOLEFS(4)
All times are GMT -4. The time now is 11:23 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy