10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello,
I am under Ubuntu 18.04 Bionic.
I have one shell script run.sh (which is out of my topic) to run files under multiple directories and one file to control all processes running under those directories (control.sh).
I set a cronjob task to check each of them with two minutes of intervals.... (3 Replies)
Discussion started by: baris35
3 Replies
2. Shell Programming and Scripting
I have nginx web server logs with all requests that were made and I'm filtering them by date and time.
Each line has the following structure:
127.0.0.1 - xyz.com GET 123.ts HTTP/1.1 (200) 0.000 s 3182 CoreMedia/1.0.0.15F79 (iPhone; U; CPU OS 11_4 like Mac OS X; pt_br)
These text files are... (21 Replies)
Discussion started by: brenoasrm
21 Replies
3. Shell Programming and Scripting
I have the below command which is referring a large file and it is taking 3 hours to run. Can something be done to make this command faster.
awk -F ',' '{OFS=","}{ if ($13 == "9999") print $1,$2,$3,$4,$5,$6,$7,$8,$9,$10,$11,$12 }' ${NLAP_TEMP}/hist1.out|sort -T ${NLAP_TEMP} |uniq>... (13 Replies)
Discussion started by: Peu Mukherjee
13 Replies
4. Shell Programming and Scripting
I have script like below, who is picking number from one file and and searching in another file, and printing output.
Bu is is very slow to be run on huge file.can we modify it with awk
#! /bin/ksh
while read line1
do
echo "$line1"
a=`echo $line1`
if
then
echo "$num"
cat file1|nawk... (6 Replies)
Discussion started by: mirwasim
6 Replies
5. Shell Programming and Scripting
Hi all,
In bash scripting, I use to read files:
cat $file | while read line; do
...
doneHowever, it's a very slow way to read file line by line.
E.g. In a file that has 3 columns, and less than 400 rows, like this:
I run next script:
cat $line | while read line; do ## Reads each... (10 Replies)
Discussion started by: AlbertGM
10 Replies
6. Shell Programming and Scripting
I am trying to copy a folder which contains a list of C executables.
It takes 2 mins for completion,where as the entire script takes only 3 more minutes for other process.
Is there a way to copy the folder faster so that the performance of the script will improve? (2 Replies)
Discussion started by: prasperl
2 Replies
7. Red Hat
Hi,
Can any one help me out in solving the problem i have a linux database server it is tooo slow that i am unable to open even the terminial is there any solution to get rid of this problem.How to make this server faster.
Thanks & Regards
Venky (0 Replies)
Discussion started by: venky_vemuri
0 Replies
8. Shell Programming and Scripting
hii everyone ,
i have a file in which i have line numbers.. file name is file1.txt
aa bb cc "12" qw
xx yy zz "23" we
bb qw we "123249" jh
here 12,23,123249. is the line number
now according to this line numbers we have to print lines from other file named... (11 Replies)
Discussion started by: kumar_amit
11 Replies
9. Programming
I ask a question about the executalbe file compiled with make. Which debugger is appropriate? I tried to use gdb. But it failed to give the code with 'list' command.
Program received signal SIGTSTP, Stopped (user).
0x0000000000472621 in DivergeTreeLogLikelihood ()
(gdb) bt
#0 ... (5 Replies)
Discussion started by: cdbug
5 Replies
10. Shell Programming and Scripting
One of our servers runs Solaris 8 and does not have "ls -lh" as a valid command. I wrote the following script to make the ls output easier to read and emulate "ls -lh" functionality. The script works, but it is slow when executed on a directory that contains a large number of files. Can anyone make... (10 Replies)
Discussion started by: shew01
10 Replies
WINPDB(1) General Commands Manual WINPDB(1)
NAME
winpdb, rpdb2 -- platform independent Python debugger
SYNOPSIS
winpdb, rpdb2 [-h, --help] [-d, --debuggee] [-a, --attach] [-o, --host] [-r, --remote] [-e, --encrypt] [-p, --pwd] [-s, --screen]
[-c, --chdir] [--debug] [[<script-name> [<script-args>...]]]
DESCRIPTION
This manual page documents briefly the winpdb and rpdb2 commands.
This manual page was written for the Debian distribution because the original program does not have a manual page.
winpdb is a GUI frontend to rpdb2, a remote debugger for python, which is capable to debug threads- and curses-based code.
OPTIONS
These programs follow the usual GNU command line syntax, with long options starting with two dashes (`-'). A summary of options is
included below.
-h --help
Print the program's help.
-d --debuggee
Start debuggee and break into it, without starting a debugger console.
-a --attach
Attach to an already started debuggee.
-o --host
Specify host for attachment.
-r --remote
Allow debuggees to accept connections from remote machines.
-e --encrypt
Force encrypted connections between debugger and debuggees.
-p --pwd
Password. This flag is available only on NT systems. On other systems the password will be queried interactively if it is
needed.
-s --screen
Use the Unix screen utility when spawning the debuggee.
-c --chdir
Change the working directory to that of the launched script.
--debug Debug prints.
AUTHOR
This manual page was written by Bernd Zeimetz <bernd@bzed.de> for the Debian system (but may be used by others). Permission is granted to
copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2, as published by the Free Soft-
ware Foundation.
On Debian systems, the complete text of the GNU General Public License, Version 2, can be found in /usr/share/common-licenses/GPL-2.
WINPDB(1)