09-27-2013
Please modify the title of this thread by adding [SOLVED] before the current title, so that this thread will serve as a reference for other users in the future. BTW, glad it worked!
This User Gave Thanks to gacanepa For This Post:
9 More Discussions You Might Find Interesting
1. AIX
Generally, most people, I guess, go from 5.3 ML4 Directly to TL 7. So they may never run into this issue.
For the rest of us, here is the resolution of my problem in going from ML6 to TL7.
Apparently with the change from ML to TL IBM added a "BuildDate Verification" routine into... (1 Reply)
Discussion started by: mrmurdock
1 Replies
2. UNIX for Dummies Questions & Answers
Hello,
Going through book, "Guide to UNIX Using Linux". I am doing one of the projects that has me writing scripts to join files. Here is my pnumname script and I am extracting the programmers names and numbers from the program file and redirecting the output to the file pnn. I then created a... (0 Replies)
Discussion started by: thebeav
0 Replies
3. Shell Programming and Scripting
Hi,
I was thinking that this should be a synch but I could never get it to work.
I want to copy a bunch of files within a directory (3/4 levels into the directory) to a common place. All these files have the same name, so I prefer to rename them with the path.
I tried with
files=`ls -1... (5 Replies)
Discussion started by: jamie_123
5 Replies
4. Shell Programming and Scripting
hi All,
I am using the command
find /home/mqm/check/ -mtime +1|wc -l
to get a count of the files older than a day under the check directory. But instead of getting the count of the files under check directory I m getting a count including the check directory itself. Can someone please tell... (0 Replies)
Discussion started by: jayii
0 Replies
5. Shell Programming and Scripting
Hi,
I'm new to sh scripting and have the following problem. I have a script to sftp that is now working with ssh key. But i need to change this, i wan't to sftp with a password. I have the following script, tried a lot to make a variabel for the password. But i can't make it work
... (2 Replies)
Discussion started by: kvhindex
2 Replies
6. UNIX for Dummies Questions & Answers
I was reading man for cp, and I found the option cp -d.
What does it mean?
According to the documentation -d is the same as --no-dereference --preserve=link.
I understand that --preserve preserves the attributes of the file such as time stamp, but I have no clue about neither --preserve=link... (2 Replies)
Discussion started by: santiagorf
2 Replies
7. Emergency UNIX and Linux Support
Sorry if I repost my question in this section, but I'm really in a hurry since I have to finish my work... :(
Dear community,
I have a table with two rows like:
Row1 Row2
======= =======
7,3 text 1
1,3 text 2
1,2,3 blabla
What i need to do is add/copy... (2 Replies)
Discussion started by: Lord Spectre
2 Replies
8. UNIX for Dummies Questions & Answers
Hi,
I have the following folder structure:
Folder6100/Data
Folder6100/Data
Folder6120/Data
Folder6120/Data
Folder6140/Data
Folder6140/Data
Folder6160/Data
Folder6160/Data
Folder6180/Data
Folder6180/Data
Folder6200/Data
Folder6220/Data
Folder6240/Data
Folder6260/Data... (2 Replies)
Discussion started by: alex2005
2 Replies
9. UNIX for Dummies Questions & Answers
Hi all,
I need a shell script to compress and transfer only last modified(new) file from one linux server to another linux sever.
the files i need to backup are 2 files .txt & .log which will be created in the same folder for every 3-4hrs and this script need to run once in 24hrs.
so only... (5 Replies)
Discussion started by: basszzz
5 Replies
LEARN ABOUT PHP
cli_set_process_title
CLI_SET_PROCESS_TITLE(3) 1 CLI_SET_PROCESS_TITLE(3)
cli_set_process_title - Sets the process title
SYNOPSIS
bool cli_set_process_title (string $title)
DESCRIPTION
Sets the process title visible in tools such as top and ps. This function is available only in CLI mode.
PARAMETERS
o $title
- The new title.
RETURN VALUES
Returns TRUE on success or FALSE on failure.
ERRORS
/EXCEPTIONS
An E_WARNING will be generated if the operating system is unsupported.
EXAMPLES
Example #1
cli_set_process_title(3) example
<?php
$title = "My Amazing PHP Script";
$pid = getmypid(); // you can use this to see your process title in ps
if (!cli_set_process_title($title)) {
echo "Unable to set process title for PID $pid...
";
exit(1);
} else {
echo "The process title '$title' for PID $pid has been set for your process!
";
sleep(5);
}
?>
SEE ALSO
cli_get_process_title(3), setproctitle(3).
PHP Documentation Group CLI_SET_PROCESS_TITLE(3)