Search Results

Search: Posts Made By: alexcol
2,652
Posted By MadeInGermany
I gave brief explanations as comments in the...
I gave brief explanations as comments in the code.
The following are comprehensive ones:

while condition - do - done
is a loop. The condition is the read command that reads a line from the...
2,652
Posted By MadeInGermany
You can store the filename in a variable and...
You can store the filename in a variable and construct the other filename from it.
In case it finds more than one filename use a for loop or while loop:
#!/bin/bash
while true
do
sleep 2400
#...
5,708
Posted By jim mcnamara
If you have a process that generates repeated...
If you have a process that generates repeated core dumps, you have a problem. On production systems you want to see no core dumps.

A process that dumps core may leave a data set in an...
5,708
Posted By Peasant
Deleting core files will not affect the current...
Deleting core files will not affect the current running application.
It has crashed (in the past) and generated a core dump.
Or killed intentionally to generate one by user or kernel.

Now, the...
Forum: Web Development 04-22-2019
4,302
Posted By Neo
The PostMan web site has the answers to all your...
The PostMan web site has the answers to all your questions except the last one. Please read the basics there, Thanks.

Regarding curl, someone who uses curl can help you. Frankly, I stopped...
1,465
Posted By MadeInGermany
If your bottleneck is the many fork()s then it...
If your bottleneck is the many fork()s then it helps to replace
-exec ls -ld {} \;with
-exec ls -ld {} +The + bundles the arguments and forks/execs few ls with the maximum number of arguments.
Forum: Linux 03-14-2016
2,920
Posted By MadeInGermany
Yes, du is recursive, and in combination with the...
Yes, du is recursive, and in combination with the recursive find there are lots of repeated du runs.
Give other processes priority over du:
nice du -s /dcs/data/08/*/ | sort -n
Forum: Linux 03-13-2016
2,920
Posted By Don Cragun
I would guess that you want something more like: ...
I would guess that you want something more like:
du -s /dcs/data/08/*/ | sort -rn
It will still be high on the list of output from top while it is running, but at least it will just be processing...
4,967
Posted By RudiC
Look into the output files, and you'll see.
Look into the output files, and you'll see.
Showing results 1 to 9 of 9

 
All times are GMT -4. The time now is 07:35 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy