I'd appreciate an explanation of the ?xdm? listing under the IDLE column (see below) after I ran the 'w' command in BASH. I recently used 'umask 0022' but reset it to 'umask 0000' I can't think this would have caused the ?xdm?, but as a total novice, I'd like some help.
Moderator's Comments:
Please use code tags
Last edited by jim mcnamara; 01-25-2015 at 09:42 PM..
We are running AIX 5.3 and for ICICS Printing we have process called cicstermp runing whcih attaches the print to print queue
But is process is triggered when ever a print is to be given
Can we find the processes which are idle
I mean every time a print is given it creats a new cicstermp... (1 Reply)
can someone hlpe me to use a X display manger to oepnsolaris
I'm using 79a & have setup XMING on a windows client
On the Solaris box I notice that XDM is not running, which i assume is essential for xming\client. I've read somewhere that to enable XDM i need to run gdmconfig so i've
# xhost+... (5 Replies)
Newbie here, have looked using search engine and can find nothing revelant to my problem..
Using Linux
Here, I want to create a unix daemon (using C) that run to check user idle time, then if the idle time match the timeout, that console will be locked automatically
(user need to enter... (14 Replies)
Hi All,
I was going through a UNIX system administration handbook and while reading found the below sentence
"init is also responsible for spawning graphical login systems such as xdm,gdm, or dtlogin if the system is et up to use them"
My question is,how to verify on a UNIX... (3 Replies)
Hi all,
I have remote 2Mbs connection to server.
I am wondering - what is the difference (i mean - transferring data) between Citrix sessions and XDMCP?
Why I can connect to server using Citrix and when clicking to open some application its opening fast, but when i am clicking to open same... (0 Replies)
Hi all,
I have remote 2Mbs connection to server.
I am wondering - what is the difference (i mean - transferring data) between Citrix sessions and XDMCP?
Why I can connect to server using Citrix and when clicking to open some application its opening fast, but when i am clicking to open same... (1 Reply)
I need to find the idle time on a machine in the manner: How long time ago somebody did the last action with mouse or keyboard? Unfortunately "w" doesn't do this. It produced the following output on a machine a user was actually working on with an application:
15# w
15:55:28 up 15 days, ... (1 Reply)
What kind of problems can be faced if any session which connects to unix server is open for longer time?
How to find out from how much time that session is idle? :) (1 Reply)
Hi members!
I have installed SunOS 4.1.4 under QEMU.
I would like to use it with xdm. I launch xdm and get login window.
But when I have inputed user name and password,
XDM exited with the message:
"error (334): Unknown session exit code 2817 from process 342"
I have checked:
pid 334 is the... (5 Replies)
Discussion started by: goodbyespy
5 Replies
LEARN ABOUT PHP
umask
UMASK(3) 1 UMASK(3)umask - Changes the current umaskSYNOPSIS
int umask ([int $mask])
DESCRIPTION umask(3) sets PHP's umask to $mask & 0777 and returns the old umask. When PHP is being used as a server module, the umask is restored when
each request is finished.
PARAMETERS
o $mask
- The new umask.
RETURN VALUES umask(3) without arguments simply returns the current umask otherwise the old umask is returned.
EXAMPLES
Example #1
umask(3) example
<?php
$old = umask(0);
chmod("/path/some_dir/some_file.txt", 0755);
umask($old);
// Checking
if ($old != umask()) {
die('An error occurred while changing back the umask');
}
?>
NOTES
Note
Avoid using this function in multithreaded webservers. It is better to change the file permissions with chmod(3) after creating the
file. Using umask(3) can lead to unexpected behavior of concurrently running scripts and the webserver itself because they all use
the same umask.
PHP Documentation Group UMASK(3)