I have been asked to write a unix script to log and report all users logging on to our unix boxes as either the root or oracle users only on a 24 hour basis.
This should trap the logon and logoff time,if possible what they are doing and their username.
Thanks in Advance (2 Replies)
Is there any sort of documentation that translates windows commands into linux commands?
...just the basic stuff that you would do on your win PC translated to linux?
For example in windows to configure your network card you would...
Settings > Control Panel > Network Connections > Local... (3 Replies)
Hi,
Im newbie here and in unix as well. How can i view users in unix? Im viewed them in shadow file (i typed: vi /etc/shadow) but some unix (im confused if its unix or linux or bsd, but i think it has a little thing in common or differnce) has no shadow file?! What must i do to view the users... (6 Replies)
Hi
How to create users in the UNIX machine ....
I am the ROOT and i want to create users with normal privileges .
a) Please give the sequence of commands which i need to use.
b) How to set their userid and passwords (3 Replies)
Hi All,
Is there any command or any way to find out no of users active in unix system without using any file(like /etc/password).
Help me please. (5 Replies)
Just for fun, are you a male or a female?
Thanks for helping out in the demographic survey!
---------- Post updated at 12:20 ---------- Previous update was at 09:39 ----------
FYI:
Summary of Forum Demographics | The UNIX and Linux Forums Blog (14 Replies)
I need to find all the unix user id's of all the users in unix... is there any such command... pl help out (6 Replies)
Discussion started by: Syed Imran
6 Replies
LEARN ABOUT PHP
datefmt_get_timezone
DATEFMT_GET_TIMEZONE(3) 1 DATEFMT_GET_TIMEZONE(3)IntlDateFormatter::getTimeZone - Get formatters timezone
Object oriented style
SYNOPSIS
public IntlTimeZone IntlDateFormatter::getTimeZone (void )
DESCRIPTION
Procedural style
IntlTimeZone datefmt_get_timezone (void )
Returns an IntlTimeZone object representing the timezone that will be used by this object to format dates and times. When formatting Intl-
Calendar and DateTime objects with this IntlDateFormatter, the timezone used will be the one returned by this method, not the one associ-
ated with the objects being formatted.
PARAMETERS
This function has no parameters.
RETURN VALUES
The associated IntlTimeZone object or FALSE on failure.
EXAMPLES
Example #1
datefmt_get_timezone(3) examples
<?php
$madrid = IntlDateFormatter::create(NULL, NULL, NULL, 'Europe/Madrid');
$lisbon = IntlDateFormatter::create(NULL, NULL, NULL, 'Europe/Lisbon');
var_dump($madrid->getTimezone());
echo $madrid->getTimezone()->getDisplayName(
false, IntlTimeZone::DISPLAY_GENERIC_LOCATION, "en_US"), "
";
echo $lisbon->getTimeZone()->getId(), "
";
//The id can also be retrieved with ->getTimezoneId()
echo $lisbon->getTimeZoneId(), "
";
The above example will output:
object(IntlTimeZone)#4(4) {
["valid"]=>
bool(true)
["id"]=>
string(13) "Europe/Madrid"
["rawOffset"]=>
int(3600000)
["currentOffset"]=>
int(7200000)
}
Spain Time
Europe/Lisbon
Europe/Lisbon
SEE ALSO IntlDateFormatter.getTimeZoneId(3), IntlDateFormatter.setTimeZone(3), IntlTimeZone.
PHP Documentation Group DATEFMT_GET_TIMEZONE(3)