On Wed, 6 Jan 2010, Jon L wrote:
> well I've got nothing running and here is free:
>
> ts7500:/home/jon/programs/sjinn# free
> total used free shared buffers cached
> Mem: 62912 58116 4796 0 18204 17276
> -/+ buffers/cache: 22636 40276
> Swap: 0 0 0
> ts7500:/home/jon/programs/sjinn#
>
> is seems kinda full, is this normal?
Read the second line "-/+ buffers/cache". Linux uses "free" ram as disk
cache.
> heres the ps -ef:
ps uax might be more informative - it gives memory footprint info. see the
man page. You could then see what was using the 22M memory used.
> ts7500:/home/jon/programs/sjinn# ps -ef
> UID PID PPID C STIME TTY TIME CMD
> root 1 0 0 Jan01 ? 00:00:00 init [2]
> root 2 0 0 Jan01 ? 00:00:00 [kthreadd]
> root 3 2 0 Jan01 ? 00:00:00 [ksoftirqd/0]
> root 4 2 0 Jan01 ? 00:00:00 [events/0]
> root 5 2 0 Jan01 ? 00:00:00 [khelper]
> root 26 2 0 Jan01 ? 00:00:00 [kblockd/0]
> root 48 2 0 Jan01 ? 00:00:00 [pdflush]
> root 49 2 0 Jan01 ? 00:00:00 [pdflush]
> root 50 2 0 Jan01 ? 00:00:00 [kswapd0]
> root 51 2 0 Jan01 ? 00:00:00 [aio/0]
> root 84 2 0 Jan01 ? 00:00:00 [rpciod/0]
> root 94 1 0 Jan01 ? 00:00:00 ts7500ctl --getrtc
> --resetswitch
>
> root 111 1 0 Jan01 ? 00:00:01 xuartctl --server
> root 116 1 0 Jan01 ? 00:07:08 sdctl -z 65536 --nbdserver
> lun0:
>
> root 117 1 0 Jan01 ? 00:00:00 nbd-client 127.0.0.1 7500
> /dev/n
>
> root 119 1 0 Jan01 ? 00:00:00 nbd-client 127.0.0.1 7501
> /dev/n
>
> root 121 1 0 Jan01 ? 00:00:00 nbd-client 127.0.0.1 7502
> /dev/n
>
> root 123 1 0 Jan01 ? 00:00:00 nbd-client 127.0.0.1 7503
> /dev/n
>
> root 125 1 0 Jan01 ? 00:00:06 nbd-client 127.0.0.1 7504
> /dev/n
>
> root 126 2 0 Jan01 ? 00:00:01 [kjournald]
> root 198 1 0 Jan01 ? 00:00:00 udevd --daemon
> root 363 2 0 Jan01 ? 00:00:00 [khubd]
> daemon 496 1 0 Jan01 ? 00:00:00 /sbin/portmap
> statd 507 1 0 Jan01 ? 00:00:00 /sbin/rpc.statd
> root 588 1 0 Jan01 ? 00:00:00 /usr/sbin/rsyslogd -c3
> 103 601 1 0 Jan01 ? 00:00:00 /usr/bin/dbus-daemon --system
> avahi 613 1 0 Jan01 ? 00:00:00 avahi-daemon: running
> [ts7500.lo
>
> avahi 614 613 0 Jan01 ? 00:00:00 avahi-daemon: chroot helper
> root 625 1 0 Jan01 ? 00:00:00 /usr/sbin/sshd
> root 643 1 0 Jan01 ? 00:00:00 /usr/sbin/inetd
> root 663 1 0 Jan01 ? 00:00:00 /usr/sbin/cron
> root 764 1 0 Jan01 ttyS0 00:00:00 /bin/login --
> root 765 764 0 Jan01 ttyS0 00:00:00 -bash
> root 788 1 0 Jan01 ? 00:00:00 dhclient
> root 1918 643 0 Jan05 ? 00:00:02 in.telnetd:
> dhpc-1060l.dhpc.loca
>
> root 1920 1918 0 Jan05 pts/1 00:00:00 login -h
> dhpc-1060l.dhpc.local -
>
> root 1921 1920 0 Jan05 pts/1 00:00:01 -bash
> root 2714 1 0 19:22 ? 00:00:00 xuartctl --port 0 --server
> --spe
>
> root 2812 1 0 19:37 ? 00:00:00 /usr/sbin/apache2 -k start
> www-data 2814 2812 0 19:37 ? 00:00:00 /usr/sbin/apache2 -k start
> www-data 2817 2812 0 19:37 ? 00:00:00 /usr/sbin/apache2 -k start
> www-data 2818 2812 0 19:37 ? 00:00:00 /usr/sbin/apache2 -k start
> root 2876 765 0 19:40 ttyS0 00:00:00 ps -ef
> ts7500:/home/jon/programs/sjinn#
>
>
>
> --- In "david.breton" <> wrote:
>>
>>
>> Use the free command to see if your used memory is slowly increasing until
>> it runs out of available memory
>>
>> echo 1 > /proc/sys/vm/drop cache to free memory when the free command output
>> indicates free memory is low
>>
>>
>>
>>
>>
>> --- In "Jon L" <jleslie48@> wrote:
>>>
>>>
>>>
>>> --- In "Jon L" <jleslie48@> wrote:
>>>>
>>>> ts7500:/home/jon/programs/sjinn# tail -f /dev/testuart >t_f.lis
>>>> -bash: t_f.lis: Read-only file system
>>>> ts7500:/home/jon/programs/sjinn# tail -f /dev/testuart >tf.lis
>>>> -bash: tf.lis: Read-only file system
>>>>
>>>>
>>>> is a symptom, I had a gps antenna continually filling an RX buffer
>>>> /dev/testuart and ever emptying it.
>>>>
>>>>
>>>> shutdown was even disabled:
>>>>
>>>>
>>>> ts7500:~# shutdown now
>>>> -bash: /sbin/shutdown: Input/output error
>>>> ts7500:~# man shutdown
>>>> man: can't resolve /usr/share/man/man8/shutdown.8.gz: No such file or
>>>> directory
>>>> No manual entry for shutdown
>>>> See 'man 7 undocumented' for help when manual pages are not available.
>>>> ts7500:~# man ls
>>>> man: can't resolve /usr/share/man/man1/ls.1.gz: No such file or directory
>>>> No manual entry for ls
>>>> See 'man 7 undocumented' for help when manual pages are not available.
>>>> ts7500:~# shutdown -r now
>>>> -bash: /sbin/shutdown: Input/output error
>>>> ts7500:~# reboot
>>>> -bash: /sbin/reboot: Input/output error
>>>> ts7500:~#
>>>>
>>>>
>>>> eventually just pulled the plug.
>>>>
>>>> what happened?
>>>>
>>>
>>>
>>>
>>> well, I can't repeat the problem, anyway. the UART port that was hooked up
>>> to a GPS antenna that I thought was the source of the problem doesn't seem
>>> to be an issue.
>>>
>>
>
>
>
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|