You are not logged in.
i cant start screen. it just says "reopen fifo /tmp/screens/S-ramoneur/<random number>.pts-1.arch: no such file or directory"
ive searched google but cant find anything.
ive looked and the folder is there, the permissions is right, and yes i have free space on my /tmp.
i remember having a similiar problem to this before, and solved it just by doing screen -wipe. that doesnt work now.
it seems screen just cant create the file "/tmp/screens/S-ramoneur/<random number>.pts-1.arch" which is weird.
screen has worked perfectly before and i have a fully functioning config which ive used a long time.
anyone know whats wrong?
Last edited by ramoneur (2007-10-05 11:08:36)
A w e s o m e
r
c
h
Offline
ah i figured it out now, i was looking for a script that would show my current ram usage in my hardstatus line, which i totally forgot i put in my .screenrc some hours ago. guess i havent started a new screen session since then ![]()
well the script obviously fucked everything up xD
does anyone know a simple script that will show my total available ram, and free ram in my hardstatus line?
it doesnt hurt asking one more question i hope...
i want my harddrives info (available gb and free gb) displayed in my hardstatus line aswell ![]()
Last edited by ramoneur (2007-10-05 00:33:17)
A w e s o m e
r
c
h
Offline
Well this could work, kind of. keep in mind I'm pretty new to sh/bash or programming at all. ![]()
#!/bin/sh
# --- Memory ---
MEMTOT=`free -m | grep Mem: | awk '{ print $2 }'`
MEMUSE=`free -m | grep buffers/cache: | awk '{ print $3 }'`
# --- CPU ---
LOADA=`uptime |sed 's/.*://'`
# --- DISKSPACE ---
HOME1=`df -h |grep /dev/ |awk '/home/ { print $1 }'`
echo -e "CPU: $LOADA || MEM: $MEMUSE/$MEMTOT || /home: $HOME1 "Registered Linux User #439761
Offline
thanks
ill try when i get home later today ![]()
A w e s o m e
r
c
h
Offline
worked perfectly! THANK YOU ![]()
A w e s o m e
r
c
h
Offline
worked perfectly! THANK YOU
no problem ![]()
Registered Linux User #439761
Offline