Best way to preserve disk space on Ubuntu 12.04

23 views
Skip to first unread message

SS

unread,
May 3, 2019, 10:31:57 PM5/3/19
to Network Simulator 2 (NS2)
Hi,

I did hard disk partitioning, to access both Windows & Ubuntu OS. I have multiple copies of installations of ns-2.35 & ns-2.29 with different protocols installations. Single results/output folder containing trace file, result file, scene files occupy 2GB. Disk space for ubuntu is getting low. Other than taking items on Google drive I still wants to preserve result folders. What can be better option to increase disk space for doing more simulations further.
Should I delete trace output files, after extracting results using awk?

Please suggest...
Thanks

knudfl

unread,
May 4, 2019, 5:44:36 AM5/4/19
to Network Simulator 2 (NS2)
@SS

Trace files : If you really want to save some, please do →
$ gzip [name]-out.tr  // ex: 39.2MB is compressed to 1.8 MB , out.tr.gz      
                           
// and then save at Google Drive

// or
$ xz [name]-out.tr      //  39.2MB is compressed to 1.1 MB , out.tr.xz   

ns-allinone-2.xx/ :  The most files can be deleted. Always delete ns2.x/tcl/test/ ! (test/ = ~44MB.)
Besides that ns-2.xx/ (ns-2.29/, ns-2.35/, ..) is not required after the build. Etc. etc. apps/. See ns2-INFO
  • Only like ns-allinone-2.35/{ lib/{libtcl*, tclConfig.sh, tcl8*/}, bin/tcsh8* } must be saved !
  • ( tk is used by NAM only. And you need one 'nam' only for all ns2.)
About space : I have more than 200 installs + 3000 examples + lots of information saved → total = 29GB.
usr.local.bin-04May19.txt

SS

unread,
May 5, 2019, 11:21:19 AM5/5/19
to Network Simulator 2 (NS2)
Thanks a lot Sir for your insights.
I really appreciate a way, you have been helping people from so many years.
May God Bless you with Best in all spheres of Life...........................................

Thanks & Regards
Reply all
Reply to author
Forward
0 new messages