03-29-2008
crontab -l <user_name>
I think root only that can reboot server, it may be some thing panic.
you should try investigate log in /var/adm/messages.
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
I have compiled binary file using "cc" on SunOS 5.8 and the same binary file i have copied to SunOS 5.9 and it is giving me core dump error.I want to know whether migration of compiled code from lower version to higer version created this problem. how can i solve this problem.I am pasting the core... (1 Reply)
Discussion started by: Arvind Maurya
1 Replies
2. UNIX for Advanced & Expert Users
Good Morning.
The problem started after tha migration to a newer version of oracle - migration to oracle 9i. Before the migration jobs that were scheduled in crontabs were running ok. but after the migration they are not running.
I understand that is not easy to find out what the problem is.... (4 Replies)
Discussion started by: alexcol
4 Replies
3. Shell Programming and Scripting
Question for anyone that might be able to help:
My objective is to eheck if a file (a source file) exists in a directory. If it does then, I'd like to call an application (Informatica ETL file...not necessary to know) to run a program which extracts data and loads it into multiple targets.
... (6 Replies)
Discussion started by: jnanasakti
6 Replies
4. Red Hat
How to find out jobs scheduled by "at" command? (1 Reply)
Discussion started by: johnveslin
1 Replies
5. Shell Programming and Scripting
I had a cron file named mycron.cron and this file has cron jobs runs through out 365 days (jobs in the file mycron.cron run hourly, daily, weekly, monthly, quarterly and yearly). Is there an easy way to find what are the jobs scheduled today and what time they are scheduled to run?
Thanks in... (1 Reply)
Discussion started by: sureng
1 Replies
6. Shell Programming and Scripting
Hello All,
I'm new in shell scripting and would like to write an automated script that will check few jobs for the completion, and restart the process based on the jobs status. I am not quite sure how do I check the job status... Can someone please help? Any help will be appreciated. Thanks in... (1 Reply)
Discussion started by: mohullah
1 Replies
7. Red Hat
I've scheduled few jobs using cron. But they are not running .....
What might be the possible reasons ?? Also tell me how to troubleshoot.............
Please help me .......
Thanks in Advance. (2 Replies)
Discussion started by: vamshigvk475
2 Replies
8. Fedora
Hello, I have several cron jobs scheduled but looking at the results of running I see in some cases it takes more than 2 seconds, is there any way to adjust the accuracy of execution of cron?
Is there any other tool or way to fix the problem? (10 Replies)
Discussion started by: faka
10 Replies
9. Shell Programming and Scripting
Hi,
Is there any specific command to use to check only say Running jobs via autorep or similar command for Autosys? (0 Replies)
Discussion started by: sidnow
0 Replies
10. Shell Programming and Scripting
Hi Folks,
Please help me ,I need a unix shell script to check for multiple jobs running. if there are multiple backup Jobs running then it should be trigger an email .
Thanks,
Anand T (1 Reply)
Discussion started by: nandu67
1 Replies
LEARN ABOUT OPENSOLARIS
last
last(1) User Commands last(1)
NAME
last - display login and logout information about users and terminals
SYNOPSIS
last [-a] [-n number | -number] [-f filename]
[name | tty]...
DESCRIPTION
The last command looks in the /var/adm/wtmpx file, which records all logins and logouts, for information about a user, a terminal, or any
group of users and terminals. Arguments specify names of users or terminals of interest. If multiple arguments are given, the information
applicable to any of the arguments is printed. For example, last root console lists all of root's sessions, as well as all sessions on the
console terminal. last displays the sessions of the specified users and terminals, most recent first, indicating the times at which the
session began, the duration of the session, and the terminal on which the session took place. last also indicates whether the session is
continuing or was cut short by a reboot.
The pseudo-user reboot logs in when the system is shutdown and when it reboots. Thus,
last reboot
gives an approximate record of when the operating system instance was shutdown and when it rebooted. This can be used to calculate the
availability of the operating system over time.
last with no arguments displays a record of all logins and logouts, in reverse order.
If last is interrupted, it indicates how far the search has progressed in /var/adm/wtmpx. If interrupted with a quit signal (generated by a
CTRL-), last indicates how far the search has progressed, and then continues the search.
OPTIONS
The following options are supported:
-a Displays the hostname in the last column.
-f filename Uses filename as the name of the accounting file instead of /var/adm/wtmpx.
-n number|-number Limits the number of entries displayed to that specified by number. These options are identical; the -number
option is provided as a transition tool only and is removed in future releases.
ENVIRONMENT VARIABLES
Date and time format is based on locale specified by the LC_ALL, LC_TIME, or LANG environments, in that order of priority.
FILES
/var/adm/wtmpx accounting file
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWesu |
+-----------------------------+-----------------------------+
SEE ALSO
utmpx(4), attributes(5)
SunOS 5.11 24 Jul 2004 last(1)