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)
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)
Hi All,
OS-Type=Sun-OS 5.8 Sparc9 Processor
Can I grep the previous 4 lines and next 4 lines of a matched pattern(context grep)?
For example here we need to monitor logs of live traffic.The data obtained from "tail -f LiveTrafficData.log"
looks something like this:-... (3 Replies)
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)
Below is the my cide which is working fine but I am not getting the output indesired format.there is some problem in alignment.Can someone help me to correct this?
if ];
then
summary=$(
echo -e "Please review the log file of auto coloclean utility.\n";
echo -e... (2 Replies)
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)
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)
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)
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
LEARN ABOUT LINUX
costime
cosTime(3erl) Erlang Module Definition cosTime(3erl)NAME
cosTime - The main module of the cosTime application
DESCRIPTION
To get access to the record definitions for the structures use:
-include_lib("cosTime/include/*.hrl").
This module contains the functions for starting and stopping the application.
This application use the time base 15 october 1582 00:00 . Performing operations using other time bases will not yield correct result.
The OMG CosTime specification defines the operation secure_universal_time . As of today we cannot provide this functionality considering
the criteria demanded to fulfill the OMG specification.
When using this application, time and inaccuracy supplied by the user must be given in number of 100 nano seconds . The Time Displacement
Factor is positive east of the meridian, while those to the west are negative.
This application use calender:now_to_universal_time(Now) to create a UTC. Hence, the underlying OS must deliver a correct result when call-
ing erlang:now() .
When determining the inaccuracy of the system, the user should consider the way the time objects will be used. Communicating with other
ORB's, add a substantial overhead and should be taken into consideration.
EXPORTS
install_time() -> Return
Types Return = ok | {'EXIT', Reason}
This operation installs the cosTime Time Service part application.
uninstall_time() -> Return
Types Return = ok | {'EXIT', Reason}
This operation uninstalls the cosTime Time Service part application.
install_timerevent() -> Return
Types Return = ok | {'EXIT', Reason}
This operation installs the cosTime Timer Event Service part application.
Note:
The Timer Event Service part requires Time Service part and cosEvent or the cosNotification application to be installed first.
uninstall_timerevent() -> Return
Types Return = ok | {'EXIT', Reason}
This operation uninstalls the cosTime Timer Event Service part application.
start() -> Return
Types Return = ok | {error, Reason}
This operation starts the cosTime application.
stop() -> Return
Types Return = ok | {error, Reason}
This operation stops the cosTime application.
start_time_service(Tdf, Inaccuracy) -> Return
Types Tdf = short()
Inaccuracy = ulonglong(), eq. #100 nano seconds
Return = ok | {'EXCEPTION', #'BAD_PARAM'{}}
This operation starts a Time Service server. Please note that there may only be exactly one Time Service active at a time. The Inac-
curacy parameter defines the inaccuracy the underlying OS will introduce. Remember to take into account latency when passing time
object between nodes.
stop_time_service(TimeService) -> ok
Types TimeService = #objref
This operation stops the Time Service object.
start_timerevent_service(TimeService) -> ok
Types TimeService = #objref
This operation starts a Timer Event Service server. Please note that there may only be exactly one Timer Event Service per node
active at a time. The supplied TimeServcie reference will be the object Timer Event Service contacts to get access to a new UTC.
stop_timerevent_service(TimerEventService) -> ok
Types TimerEventService = #objref
This operation stops the Timer Event Service object.
Ericsson AB cosTime 1.1.10 cosTime(3erl)