ftocc

HD Space / Voice recording time

rslrdx
Posts: 45
Member Since:
2008-03-18

How can i see how much space has been used and how much is left on the HD as well as how many hours i've recorded already?

TIA.
Rodrigo?



rslrdx
Posts: 45
Member Since:
2008-03-18
/bump

anyone?



rslrdx
Posts: 45
Member Since:
2008-03-18
Hi

I still like to know if anyone has any ideas on this, i bet i'm not the only one needing this.



stechnique
Posts: 309
Member Since:
2008-02-21
Use the df command from

Use the df command from command-line to see disk usage:

[trix.xxx.local ~]# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda2             144G  5.3G  131G   4% /
/dev/sda1              99M   11M   83M  12% /boot
tmpfs                 950M     0  950M   0% /dev/shm

As for recording 'time', I'm not sure you can easily get that info, but the recordings are in /var/spool/asterisk/monitor/ so you can see how much memory they take up by using du from the command-line:

[trix.xxx.local asterisk]# du -h /var/spool/asterisk/monitor
2.7G    /var/spool/asterisk/monitor


rslrdx
Posts: 45
Member Since:
2008-03-18
df doesnt do it

df or du will not work for me... i dont have a problem with space really, just like to know how many hours i got recorded on the hd...

thanks



ethans
Posts: 425
Member Since:
2007-01-16
Figure approximately 15

Figure approximately 15 hours per gigabyte. If you want to have an estimation of how many hours are recorded on your system, go into /var/spool/asterisk/voicemail and run du. Divide that number by 1024 and divide by 60.

--

Ethan Schroeder - ethan d.o.t schroeder a.t schmoozecom d.o.t com
Comprehensive bounty list | Blog



Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.