8 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi All,
Do you have any sample script,
- auto get file from SFTP remote server and delete file in remove server after downloaded.
- only download specify filename
- auto upload file from local to SFTP remote server and delete local folder file after uploaded
- only upload specify filename
... (3 Replies)
Discussion started by: weesiong
3 Replies
2. UNIX for Dummies Questions & Answers
I'm learning Unix - and have installed OpenSolaris 11 under VMWare running on Ubuntu. My challenge now is to get printing working. Used CUPS to install the HP printer and driver... but it won't print. The status display is
Unable to open device file "/dev/cua/a": Permission denied
Assistance... (8 Replies)
Discussion started by: stansaraczewski
8 Replies
3. Shell Programming and Scripting
.......
06/09/2013|12:00:00 PM|3|26112|40|44032|27419.7|6 1 0 93 |6|1|0|93
06/09/2013|12:30:00 PM|3|26112|40|44032|27491|11 4 0 85 |11|4|0|85
I have "sysperf.out" file containing the lines above.
What I like to have on the output is:
Node: prod1db ===> this is the hostname
Date:... (7 Replies)
Discussion started by: Daniel Gate
7 Replies
4. Shell Programming and Scripting
Hi,
I wanted to check whether the x,y,z coordinates of two files are equal or not. At times, when one file is converted to another suitable file extension , there are some chances that the data mismatch would happen during the conversion. In order to avoid the data misfit, i would like to... (6 Replies)
Discussion started by: b@l@ji
6 Replies
5. Shell Programming and Scripting
I need some help with adding lines to file and substitute a pattern.
Ok I have a file:
#cat names.txt
name: John Doe
stationed: 1
name: Michael Sweets
stationed: 41
.
.
.
And would like to change it to:
name: John Doe
employed
permanently
stationed: 1-office (7 Replies)
Discussion started by: hemo21
7 Replies
6. Shell Programming and Scripting
Hi, I hope the title does not scare people to look into this thread but it describes roughly what I'm trying to do. I need a solution in PHP.
I'm a programming beginner, so it might be that the approach to solve this, might be easier to solve with an other approach of someone else, so if you... (0 Replies)
Discussion started by: lowmaster
0 Replies
7. UNIX for Dummies Questions & Answers
I need to edit the file name with date and time while writing the script.
please help. (1 Reply)
Discussion started by: manish.s
1 Replies
8. Shell Programming and Scripting
Hi Gurus,
In my file I have an amount field from position 74 to 87, which contains values starting with '+' as well as '-'. I want to add all positive values in a varible called "CREDIT" and all negative values in a variable "DEBIT". I know, we can use grep to identify values with positive and... (4 Replies)
Discussion started by: berlin_germany
4 Replies
APACHE_CHILD_TERMINATE(3) 1 APACHE_CHILD_TERMINATE(3)
apache_child_terminate - Terminate apache process after this request
SYNOPSIS
bool apache_child_terminate (void )
DESCRIPTION
apache_child_terminate(3) will register the Apache process executing the current PHP request for termination once execution of PHP code is
completed. It may be used to terminate a process after a script with high memory consumption has been run as memory will usually only be
freed internally but not given back to the operating system.
RETURN VALUES
Returns TRUE if PHP is running as an Apache 1 module, the Apache version is non-multithreaded, and the child_terminate PHP directive is
enabled (disabled by default). If these conditions are not met, FALSE is returned and an error of level E_WARNING is generated.
CHANGELOG
+--------+---------------------------------------------------+
|Version | |
| | |
| | Description |
| | |
+--------+---------------------------------------------------+
| 5.4.0 | |
| | |
| | This function became available under FastCGI. |
| | Previously, it was supported only when PHP was |
| | installed as an Apache module. |
| | |
+--------+---------------------------------------------------+
NOTES
Note
This function is not implemented on Windows platforms.
SEE ALSO
exit(3).
PHP Documentation Group APACHE_CHILD_TERMINATE(3)