runtime folder

Everything about Control-M agents installation or setup.
Post Reply
User avatar
mauriziog
Nouveau
Nouveau
Posts: 807
Joined: 08 Jun 2007 12:00
Location: Varese - Italy
Contact:

runtime folder

Post by mauriziog » 30 Oct 2007 11:45

Someone knows whats the "runtime" directory do on unix agent?
This is the list of the control-m agent folders in a 6.2 version:

----------------------
drwx------ 2 controlm users 96 Aug 11 2005 onstmt
drwxr-xr-x 2 controlm users 96 Oct 17 12:46 locks
drwxr-xr-x 2 controlm users 96 Oct 17 12:48 log
drwxr-xr-x 2 controlm users 8192 Oct 17 12:59 scripts
drwxr-xr-x 3 controlm users 96 Oct 17 12:59 patches
drwxrwxrwx 4 controlm users 96 Oct 17 13:04 cm
drwxr-xr-x 2 controlm users 96 Oct 23 11:48 pid
drwxr-xr-x 4 controlm users 8192 Oct 23 11:48 data
drwxr-xr-x 5 controlm users 8192 Oct 29 12:26 exe
drwxrwxrwx 2 controlm users 8192 Oct 30 00:01 proclog
drwxr-xr-x 2 controlm users 8192 Oct 30 11:08 sysout
drwxr-xr-x 2 controlm users 96 Oct 30 11:08 temp
drwx------ 2 controlm users 8192 Oct 30 11:08 status
drwx------ 2 controlm users 96 Oct 30 11:08 procid
drwx------ 2 controlm users 8192 Oct 30 11:08 backup
drwxr-xr-x 2 controlm users 96 Oct 30 11:08 runtime
----------------------
On a window agent there isnt this directory ....

Have a good day.

User avatar
philmalmaison
Nouveau
Nouveau
Posts: 1148
Joined: 08 Jun 2007 12:00
Location: Ile de France

Post by philmalmaison » 30 Oct 2007 1:12

Hy Mauriziog,
It look to be use during job execution to temporary write informations about characteristics of the job.
In the case i show more low it's about ENV parameter to set
-rw-r--r-- 1 root root 22 Oct 15 18:25 ENV.00000e3g_03i

more ENV.00000e3g_03i

setenv PARM1 '071015'

Note : this command is unix only, probably why doesn't matter in windows

regards
Philmalmaison

User avatar
mauriziog
Nouveau
Nouveau
Posts: 807
Joined: 08 Jun 2007 12:00
Location: Varese - Italy
Contact:

Post by mauriziog » 30 Oct 2007 1:41

philmalmaison wrote: It look to be use during job execution to temporary write informations about characteristics of the job.
In the case i show more low it's about ENV parameter to set
-rw-r--r-- 1 root root 22 Oct 15 18:25 ENV.00000e3g_03i

more ENV.00000e3g_03i

setenv PARM1 '071015'

Note : this command is unix only, probably why doesn't matter in windows
Phil,
I see also informations if the job is a command.
But there arent many files but only the last one, isnt it?
But witch kind of informations are write there and why?
Seems to be informations about user session.
Thanks

User avatar
philmalmaison
Nouveau
Nouveau
Posts: 1148
Joined: 08 Jun 2007 12:00
Location: Ile de France

Post by philmalmaison » 30 Oct 2007 1:53

Yes it's about Unix shell type (setenv is for csh).
But i don't know why here ...

Philmalmaison

User avatar
mauriziog
Nouveau
Nouveau
Posts: 807
Joined: 08 Jun 2007 12:00
Location: Varese - Italy
Contact:

Post by mauriziog » 30 Oct 2007 2:25

philmalmaison wrote:Yes it's about Unix shell type (setenv is for csh).
But I don't know why here ...
This is what I dont understand because I know that running a job is like do a "su - UserName" and the ".profile" is loaded and the .sh script executed.
If the process was this one why have a folder runtime?
Which information must be write in a temp file because can be lost?
You are true: is related to unix environment only.

You know if the files in the runtime folder are created by root user or owner user?

User avatar
philmalmaison
Nouveau
Nouveau
Posts: 1148
Joined: 08 Jun 2007 12:00
Location: Ile de France

Post by philmalmaison » 30 Oct 2007 5:05

but in cshrc you load the .cshrc file not .profile

User avatar
mauriziog
Nouveau
Nouveau
Posts: 807
Joined: 08 Jun 2007 12:00
Location: Varese - Italy
Contact:

Post by mauriziog » 30 Oct 2007 5:31

philmalmaison wrote:but in cshrc you load the .cshrc file not .profile
Yes but the others questions remains ....

If the process was this one why have a folder runtime?
Which information must be write in a temp file because can be lost?

You know if the files in the runtime folder are created by root user or owner user?

Post Reply