Last login: Thu Nov 29 15:05:51 on ttys014
Math-Tuttle-OSX:~ smtuttle$ cd humboldt/
Math-Tuttle-OSX:humboldt smtuttle$ cd f12cs279
Math-Tuttle-OSX:f12cs279 smtuttle$ cd 279lectures/
Math-Tuttle-OSX:279lectures smtuttle$ cd 279lect14-2
Math-Tuttle-OSX:279lect14-2 smtuttle$ ssh st10@nrs-projects.humboldt.edu
st10@nrs-projects.humboldt.edu's password: 
Last login: Thu Nov 29 10:09:07 2012 from nrs-labs.humboldt.edu

[st10@nrs-projects ~]$ crontab -e
no crontab for st10 - using an empty one
crontab: installing new crontab

[st10@nrs-projects ~]$ crontab -l
* * * * * date >> /homes/st10/lect14-2-play.txt

[st10@nrs-projects ~]$ 
You have new mail in /var/spool/mail/st10

[st10@nrs-projects ~]$ emacs /var/spool/mail/st10

[st10@nrs-projects ~]$ crontab -e
crontab: installing new crontab

[st10@nrs-projects ~]$ emacs /var/spool/mail/st10

[st10@nrs-projects ~]$ ls 2*
279lab14-history.txt

279lab14:
crontab-play.txt  final-ck.txt	lab14-2-crontab.txt

279lect13-1:
echo3.sh  george.sh

[st10@nrs-projects ~]$ crontab -e
crontab: no changes made to crontab

[st10@nrs-projects ~]$ cat lect14-2-play.txt | wc -l
1

[st10@nrs-projects ~]$ cat lect14-2-play.txt 
Thu Nov 29 15:15:01 PST 2012

[st10@nrs-projects ~]$ crontab -r
[st10@nrs-projects ~]$ crontab -e
no crontab for st10 - using an empty one
crontab: no changes made to crontab

[st10@nrs-projects ~]$ crontab -l
no crontab for st10

[st10@nrs-projects ~]$ uptime
 15:17:06 up 22:46, 11 users,  load average: 0.00, 0.00, 0.00

[st10@nrs-projects ~]$ top

top - 15:28:35 up 22:57, 11 users,  load average: 0.0
Tasks: 141 total,   2 running, 138 sleeping,   1 stop
Cpu(s):  0.3%us,  0.0%sy,  0.0%ni, 99.7%id,  0.0%wa, 
Mem:   1026080k total,   888284k used,   137796k free
Swap:  2064376k total,       84k used,  2064292k free

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM
26656 jdw6      16   0 12760 1180  816 S  0.3  0.1
    1 root      15   0 10368  700  584 S  0.0  0.1
    2 root      RT  -5     0    0    0 S  0.0  0.0
    3 root      34  19     0    0    0 S  0.0  0.0
    4 root      10  -5     0    0    0 S  0.0  0.0
    5 root      12  -5     0    0    0 S  0.0  0.0
   14 root      10  -5     0    0    0 S  0.0  0.0
   18 root      10  -5     0    0    0 S  0.0  0.0
   19 root      20  -5     0    0    0 S  0.0  0.0

[st10@nrs-projects ~]$ top

top - 15:29:05 up 22:58, 11 users,  load average: 0.0
Tasks: 142 total,   2 running, 139 sleeping,   1 stop
Cpu(s):  0.3%us,  0.3%sy,  0.0%ni, 99.3%id,  0.0%wa, 
Mem:   1026080k total,   888168k used,   137912k free
Swap:  2064376k total,       84k used,  2064292k free

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM
26656 jdw6      16   0 12760 1180  816 S  0.3  0.1
    1 root      15   0 10368  700  584 S  0.0  0.1
    2 root      RT  -5     0    0    0 S  0.0  0.0
    3 root      34  19     0    0    0 S  0.0  0.0
    4 root      10  -5     0    0    0 S  0.0  0.0
    5 root      12  -5     0    0    0 S  0.0  0.0
   14 root      10  -5     0    0    0 S  0.0  0.0
   18 root      10  -5     0    0    0 S  0.0  0.0
   19 root      20  -5     0    0    0 S  0.0  0.0
[st10@nrs-projects ~]$ nice -n 3 top

top - 15:29:50 up 22:59, 11 users,  load average: 0.0
Tasks: 141 total,   1 running, 139 sleeping,   1 stop
Cpu(s):  0.3%us,  0.0%sy,  0.0%ni, 99.7%id,  0.0%wa, 
Mem:   1026080k total,   888160k used,   137920k free
Swap:  2064376k total,       84k used,  2064292k free

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM
29342 st10      18   3 12760 1108  808 R  0.3  0.1
    1 root      15   0 10368  700  584 S  0.0  0.1
    2 root      RT  -5     0    0    0 S  0.0  0.0
    3 root      34  19     0    0    0 S  0.0  0.0
    4 root      10  -5     0    0    0 S  0.0  0.0
    5 root      12  -5     0    0    0 S  0.0  0.0
   14 root      10  -5     0    0    0 S  0.0  0.0
   18 root      10  -5     0    0    0 S  0.0  0.0
   19 root      20  -5     0    0    0 S  0.0  0.0

[st10@nrs-projects ~]$ uptime
 15:29:56 up 22:59, 11 users,  load average: 0.00, 0.02, 0.00

[st10@nrs-projects ~]$ mkdir 279lect14-2
[st10@nrs-projects ~]$ cd 279lect14-2

[st10@nrs-projects 279lect14-2]$ ls
[st10@nrs-projects 279lect14-2]$ date
Thu Nov 29 15:34:27 PST 2012

[st10@nrs-projects 279lect14-2]$ at 15:36pm
Hour too large for PM. Last token seen: pm
Garbled time

[st10@nrs-projects 279lect14-2]$ date
Thu Nov 29 15:34:49 PST 2012

[st10@nrs-projects 279lect14-2]$ at 3:36pm
at> date >> at-play.txt
at> pwd >> at-play.txt
at> <EOT>
job 1 at 2012-11-29 15:36

[st10@nrs-projects 279lect14-2]$ at -l
1		   2012-11-29 15:36 a st10

[st10@nrs-projects 279lect14-2]$ ls
[st10@nrs-projects 279lect14-2]$ ls
[st10@nrs-projects 279lect14-2]$ date
Thu Nov 29 15:36:01 PST 2012

[st10@nrs-projects 279lect14-2]$ ls
at-play.txt

[st10@nrs-projects 279lect14-2]$ cat at-play.txt 
Thu Nov 29 15:36:00 PST 2012
/home/st10/279lect14-2

[st10@nrs-projects 279lect14-2]$ at -l
[st10@nrs-projects 279lect14-2]$ at -l
[st10@nrs-projects 279lect14-2]$ at 9:00pm
at> date > looky
at> <EOT>
job 2 at 2012-11-29 21:00

[st10@nrs-projects 279lect14-2]$ at -l
2		   2012-11-29 21:00 a st10

[st10@nrs-projects 279lect14-2]$ atrm

[st10@nrs-projects 279lect14-2]$ at -l
2		   2012-11-29 21:00 a st10

[st10@nrs-projects 279lect14-2]$ atrm 2
[st10@nrs-projects 279lect14-2]$ at -l

[st10@nrs-projects 279lect14-2]$ batch
at> date >> batch-play.txt
at> pwd >> batch-play.txt
at> <EOT>
job 5 at 2012-11-29 15:41

[st10@nrs-projects 279lect14-2]$ at -l
[st10@nrs-projects 279lect14-2]$ ls
at-play.txt  batch-play.txt

[st10@nrs-projects 279lect14-2]$ more batch-play.txt 
Thu Nov 29 15:42:26 PST 2012
/home/st10/279lect14-2

[st10@nrs-projects 279lect14-2]$ echo "<$IFS>"
< 		   
>

[st10@nrs-projects 279lect14-2]$ ls
at-play.txt  batch-play.txt
You have new mail in /var/spool/mail/st10

[st10@nrs-projects 279lect14-2]$ mail
Mail version 8.1 6/6/93.  Type ? for help.
"/var/spool/mail/st10": 1 message 1 new
>N  1 sdb44@nrs-projects.h  Thu Nov 29 16:08  19/743  
& p
Message 1:
From sdb44@nrs-projects.humboldt.edu  Thu Nov 29 16:08
:50 2012
X-Original-To: st10@nrs-projects.humboldt.edu
Delivered-To: st10@nrs-projects.humboldt.edu
To: st10@nrs-projects.humboldt.edu
Subject: Hi Sharon
Date: Thu, 29 Nov 2012 16:08:50 -0800 (PST)
From: sdb44@nrs-projects.humboldt.edu

Hi Sharon! I'm just testing email. You can read your e
mail by typing "mail"
the command "h" lists your mail, "p" reads the top mes
sage, and "d" deletes it.
Ctrl-D to leave the mail program!
& q
Saved 1 message in mbox
[st10@nrs-projects 279lect14-2]$