I have a batch file that takes 2 parameters--source file location and target file location.
I want to create another batch file that contains all the commands with the file locations so that I dont have to enter the ifnromation every time individually.
For eg:
to execute command
Code:
com1.bat source_file_loc output_file_loc
This will give me the output file in output_file_loc
I want to run the same command but with many files so my file should be
com_full.bat
I have been trying to run a unix script which contains many sql statements.I need to run this script every monday morning. I tried to run on command prompt, it works fine. But while I run it via batch or at command., it returns with library module could not be loaded (libcompat.1.o could not be... (3 Replies)
Hi All,
I am trying to run this script. I have a small problem:
each "./goada.sh" command when done produces three files (file1, file2, file3) then they are moved to their respective directory as can be seem from this script snippet here.
The script goada.sh sends some commands for some... (1 Reply)
I have a bash script that has been running fine for months that scans a bunch of files and gives me a log file output, it has suddenly started putting 1.5M of a repeating sequence of ^@^@^@^@^@^@^@^@^@^@ on the first line of the logfile, is this a unicode problem I should be setting something in my... (5 Replies)
I am trying to automate an sftp command so that it does not stop and ask for the password each time
the calling shell script
#!/bin/ksh
sftp -b tst_1_batchfile.txt GLAXGBUPMPSOUT@204.90.134.116
the batchfile contents :
password XXXXXX
cd /GLAXGBUPMPSOUT/GSKENT/GLAXGF2FOPFF
put... (4 Replies)
this is what i have to find the files modified within the past 24 hours
find . -mtime -1 -type f -print0 | xargs -0 tar rvf "$archive.tar"
however i need to save/name this archive as the current date (MM-DD,YYYY.tar.gz)
how do i doo this (1 Reply)
I wish to create a folder on a unix server B from my windows box using windows batch script.
Below is my windows batch script.
@ ECHO OFF
::Enter your Directory name:
echo Enter your Directory name:
set /p mydir=
plink user1@ServerA
mkdir %mydir%
At plink command i get logged... (7 Replies)
hi,
is there a way i can execute a batch file containing ftp commands like we execute sftp batch file.
sftp -b batchfile user@server > output
how to create a batch file for ftp executing command and how to run the batch file from a shell script? (2 Replies)
Hello,
I have a UNIX script to sftp batch processing. Here is my sftp command.
ftp -b toopc userid@sftp.hostname.com
In the file toopc I have the following commands:
mget *.csv
bye
This brings in all files with an extension of .csv
However, I need to only bring in files that
... (6 Replies)
Discussion started by: schlinzj
6 Replies
LEARN ABOUT LINUX
etop
etop(3erl) Erlang Module Definition etop(3erl)NAME
etop - Erlang Top is a tool for presenting information about erlang processes similar to the information presented by "top" in UNIX.
DESCRIPTION
etop should be started with the provided scripts etop and getop for text based and graphical presentation respectively. This will start a
hidden erlang node which connects to the node to be measured. The measured node is given with the -node option. If the measured node has a
different cookie than the default cookie for the user who invokes the script, the cookie must be explicitly given witht the -setcookie
option.
Under Windows the batch files etop.bat and getop.bat can be used.
The following configuration parameters exist for the etop tool. When executing the etop or getop scripts, these parameters can be given as
command line options, e.g. getop -node testnode@myhost -setcookie MyCookie .
node :
The measured node.
Value: atom()
Mandatory
setcookie :
Cookie to use for the etop node - must be the same as the cookie on the measured node.
Value: atom()
lines :
Number of lines (processes) to display.
Value: integer()
Default: 10
interval :
The time interval (in seconds) between each update of the display.
Value: integer()
Default: 5
accumulate :
If true the execution time and reductions are accumulated.
Value: boolean()
Default: false
sort :
Identifies what information to sort by.
Value: runtime | reductions | memory | msg_q
Default: runtime ( reductions if tracing=off )
tracing :
etop uses the erlang trace facility, and thus no other tracing is possible on the measured node while etop is running, unless this
option is set to off . Also helpful if the etop tracing causes too high load on the measured node. With tracing off, runtime is not
measured.
Value: on | off
Default: on
All interaction with etop when running the graphical presentation should happen via the menus. For the text based presentation the func-
tions described below can be used.
See the user's guide for more information about the etop tool.
EXPORTS
config(Key,Value) -> Result
Types Result = ok | {error,Reason}
Key = lines | interval | accumulate | sort
Value = term()
This function is used to change the tool's configuration parameters during runtime. The table above indicates the allowed values for
each parameter.
dump(File) -> Result
Types Result = ok | {error,Reason}
File = string()
This function dumps the current display to a text file.
stop() -> stop
This function terminates etop .
Ericsson AB observer 0.9.9 etop(3erl)