Added new features to V1.5 and solved all bugs that I found. This is the most stable and most powerful release of PRIORITY MANAGER.
I hope you like it !
DESCRIPTION:
------------------------------------------------------------------------------------------
This plugin is written by BUYUKBANG to improve total performance of Azbox HD and add its
missing features! However its name remains as "Priority Manager", it now makes more than
its name is offering. Here are the features of Priority Manager:
* Priority Manager automatically changes the priorities of the processes to give optimal
performance for the menu being used. I tested all processes one by one, decided their
effects on the performance of all modules and prepared a bug-free (hopefully) and complex
logic to cover all possible usage cases.
* Priority Manager provides power saving! Smudger's power measurements show that
Priority Manager decrease power consumption of the box from 25W to 23W while watching an
SD channel and from 28W to 24W while watching an HD channel.
* Priority Manager provides password protected hidden channel list feature. This will
cover missing function in Azbox and so that you will be able to prepare a separate hidden
channel list which you want hide from people not knowing your password. Default channel
list will be automatically replaced, so that any reboots / electricity problems will not
reveal this second channel list.
* You can backup or restore /DISK2 and /PLUGINS folders with just a simple button from
user interface.
* Priority Manager optionally takes backup of /DISK2 and /PLUGINS folders in user defined
periods in background.
* Priority Manager upgrades Busybox from v1.0 to v1.16.
* Priority Manager enables Cron usage.
* Priority Manager can move plugins to internal HDD or USB storages.
* Priority Manager optionally automatically mounts CIF and NFS shares when remote server
is online and automatically unmounts CIF AND NFS shares when remote server is offline, so
protects file manager from freezes when remote goes offline after the shares mounted.
* Priority Manager optionally creates swap file on your HDD/Flash disk which will help
RAM by caching some part of the memory. Priority Manager not only supports creating swap
file on internal HDD or usb HDD/Flash disk connected before Azbox boots, it also supports
creating swap file on usb HDD/Flash disk connected after Azbox boots by continuously
checking for new USB devices.
* Priority Manager can execute user selected programs after going into SLEEP mode and
the kill them after return from SLEEP mode. By using this feature running resource
intensive programs like transmission, aMule, azepgmgr in only SLEEP mode will be
automatically managed without user intervention.
* Priority Manager increases internal storage (DOM) speed speed up to 20% by changing
its working parameters.
* Priority Manager provides "Deep Sleep Mode" which automatically kills all unnecessary
applications and improve downloading speed when box goes to sleep mode.
* Up on deactivating or uninstalling Priority Manager, if related features activated in
/DISK2/etc/PriorityManagerSettings.txt, Busybox downgrades to the orginal version,swap file
and cron is deactivated all mounted shares are unmounted and plugins are moved back to
original place. A complete rollback without reboot requirement is performed.
SPECIAL THANKS TO:
------------------------------------------------------------------------------------------
Smudger for the all information, tests and power measurements, his tests killed the bugs!
Kanber Kav for his permission for the usage and modification of his Multicas Info plugin
and for the idea of increasing internal storage (DOM) speed!
Bug Reports
------------------------------------------------------------------------------------------
If you have any problems with Priority Manager, activate VERBOSE LOG from user interface
and restart Priority Manager from PLUGINS-->PriorityManager-->Activate/Reactivate.
This will create a verbose log file /Download/PriorityManager_Verbose_Log . Collect data
with this option set to 1, without stopping, restarting, reactivating and deactivating
Priority Manager, because all this operations will delete all old log files. Then send an
e-mail to buyukbang @ gmail.com containing PriorityManager_Verbose_Log with the approximate
time that problem occured.
HISTORY:
------------------------------------------------------------------------------------------
v1.5
-----
NEW: User interface is completely reworked. Toggling all settings from user interface
without any need for using TELNET / FTP is now possible. Added a button to user interface
to review current settings.
NEW: Password protected hidden channel list feature is added.
NEW: Backup /DISK2 and /PLUGINS folder from user interface is added.
NEW: Restore last backup of /DISK2 and /PLUGINS folders from user interface is added.
FIX : Fixed some bugs in "Move Plugins" feature.
INSTALLATION:
------------------------------------------------------------------------------------------
METHOD 1 : USING PLUGINS MENU USER INTERFACE
1. Extract PriorityManager.plugin and plugins.lst files from the archive file.
2. Copy PriorityManager.plugin and plugins.lst to USB or simply transfer them by FTP to
/tmp folder of your Azbox.
3. Enter Plugins menu, press Red Button on remote controller to add plugin. If you're
using USB select to install it from USB, or if you transferred files to /tmp folder
install it from tmp folder.
4. Check user defined parameters in /DISK2/etc/PriorityManagerSettings.txt and edit
parameters if you want, save the file.
5. Activate plugin from the plugins menu: PLUGINS-->PriorityManager-->Activate/Reactivate
6. After the first run of the script standby.sh and wakeup.sh scripts will be created
under /DISK2/etc . These scripts will help to main script for the decision of the sleep
mode by creating and deleting a file ( /tmp/PriorityManager_Sleep ) If you have already
standby.sh and wakeup.sh in /DISK2/etc, they will be backed up by installation process
in the same directory. Then you may want to manually add below commands to scripts
before running Priority Manager:
echo 0 > /tmp/PriorityManager_Sleep = to standby.sh
rm /tmp/PriorityManager_Sleep = to wakeup.sh
METHOD 2 : MANUAL INSTALLATION
Those having difficulties with azbox plugin installation mechanism may choose this method.
1. Rename PriorityManager.plugin as PriorityManager.tgz and extract files with an unzip
tool like winrar, 7-Zip, etc.
2. Upload PriorityManager folder to azbox under /PLUGINS folder.
3. chmod 755 everything in PriorityManager folder and its sub folders.
4. Run following command in TELNET: /PLUGINS/PriorityManager/sh/install.sh
5. Check user defined parameters in /DISK2/etc/PriorityManagerSettings.txt and edit
parameters if you want, save the file.
6. Activate plugin from the plugins menu: PLUGINS-->PriorityManager-->Activate/Reactivate
7. After the first run of the script standby.sh and wakeup.sh scripts will be created
under /DISK2/etc . These scripts will help to main script for the decision of the sleep
mode by creating and deleting a file ( /tmp/PriorityManager_Sleep ) If you have already
standby.sh and wakeup.sh in /DISK2/etc, they will be backed up by installation process
in the same directory. Then you may want to manually add below commands to scripts
before running Priority Manager:
echo 0 > /tmp/PriorityManager_Sleep = to standby.sh
rm /tmp/PriorityManager_Sleep
DESCRIPTION OF THE PROCESSES:
------------------------------------------------------------------------------------------
SDecoderServer - A/V playback and demux
DStar - Menu handler
CRTVCore - TV module
CRTVSetup - TV module
detector_test - file type detection
emu_module - Multicas
file_control - manages file operations.
mbox_module - MBox emu
mgcamd - MgCamd emu
cheops_module - Cheops emu
sbox.sigma - SBox emu
telnetd - telnet server
vsftpd - ftp server
JIPC_Server - manages messages between processes (Java Interprocess Communication Server)
cifsdnotifyd - SAMBA server
cifsoplockd - SAMBA server
xfslogd - XFS log
xfsdatad - XFS
xfsbufd - XFS
ir_control - Remote control
*******_player - *******
Polaris - Browser
browser_control - Browser
rssfeed - RSS
EStar - Photo viewer
LIST OF NEW COMMANDS IN BUSYBOX V1.16:
------------------------------------------------------------------------------------------
ar, arp, arping, blkid, brctl, bzip2, cal, catv, chattr, chpasswd, chpst, cksum, comm,
cpio, crond, crontab, cryptpw, cttyhack, depmod, devfsd, devmem, dhcprelay, diff, dnsd,
dnsdomainname, dumpkmap, ed, eject, envdir, envuidgid, ether-wake, expand, fakeidentd,
fbsplash, fdflush, findfs, flash_eraseall, flash_lock, flash_unlock, flashcp, fold, fsck,
fsck.minix, fsync, ftpd, ftpget, ftpput, fuser, hd, httpd, hush, ifenslave, ifplugd,
inetd, ip, ipaddr, ipcalc, ipcrm, ipcs, iplink, iproute, iprule, iptunnel, kbd_mode,
killall5, length, linux32, linux64, loadfont, loadkmap, logread, losetup, lpd, lpq, lpr,
lsattr, lspci, lsusb, lzmacat, lzop, lzopcat, makemime, man, mdev, mesg, microcom,
mkdosfs, mke2fs, mkfs.ext2, mkfs.minix, mkfs.reiser, mkfs.vfat, mkpasswd, mountpoint,
msh, nameif, nc, nice, nmeter, nohup, ntpd, patch, pgrep, ping6, pkill, popmaildir,
printenv, pscan, rdev, readprofile, realpath, reformime, resize, rpm, rpm2cpio, rtcwake,
runlevel, runsv, runsvdir, script, scriptreplay, sendmail, seq, setarch, setconsole,
setfont, setkeycodes, setlogcons, setsid, setuidgid, sha256sum, sha512sum, showkey,
slattach, softlimit, split, stat, sum, sv, svlogd, switch_root, tac, tcpsvd, tftpd,
timeout, tr, traceroute6, tunctl, tune2fs, udpsvd, uncompress, unexpand, unlzma, unlzop,
volname, wall, watch, watchdog, who, zcip
Download
I hope you like it !
DESCRIPTION:
------------------------------------------------------------------------------------------
This plugin is written by BUYUKBANG to improve total performance of Azbox HD and add its
missing features! However its name remains as "Priority Manager", it now makes more than
its name is offering. Here are the features of Priority Manager:
* Priority Manager automatically changes the priorities of the processes to give optimal
performance for the menu being used. I tested all processes one by one, decided their
effects on the performance of all modules and prepared a bug-free (hopefully) and complex
logic to cover all possible usage cases.
* Priority Manager provides power saving! Smudger's power measurements show that
Priority Manager decrease power consumption of the box from 25W to 23W while watching an
SD channel and from 28W to 24W while watching an HD channel.
* Priority Manager provides password protected hidden channel list feature. This will
cover missing function in Azbox and so that you will be able to prepare a separate hidden
channel list which you want hide from people not knowing your password. Default channel
list will be automatically replaced, so that any reboots / electricity problems will not
reveal this second channel list.
* You can backup or restore /DISK2 and /PLUGINS folders with just a simple button from
user interface.
* Priority Manager optionally takes backup of /DISK2 and /PLUGINS folders in user defined
periods in background.
* Priority Manager upgrades Busybox from v1.0 to v1.16.
* Priority Manager enables Cron usage.
* Priority Manager can move plugins to internal HDD or USB storages.
* Priority Manager optionally automatically mounts CIF and NFS shares when remote server
is online and automatically unmounts CIF AND NFS shares when remote server is offline, so
protects file manager from freezes when remote goes offline after the shares mounted.
* Priority Manager optionally creates swap file on your HDD/Flash disk which will help
RAM by caching some part of the memory. Priority Manager not only supports creating swap
file on internal HDD or usb HDD/Flash disk connected before Azbox boots, it also supports
creating swap file on usb HDD/Flash disk connected after Azbox boots by continuously
checking for new USB devices.
* Priority Manager can execute user selected programs after going into SLEEP mode and
the kill them after return from SLEEP mode. By using this feature running resource
intensive programs like transmission, aMule, azepgmgr in only SLEEP mode will be
automatically managed without user intervention.
* Priority Manager increases internal storage (DOM) speed speed up to 20% by changing
its working parameters.
* Priority Manager provides "Deep Sleep Mode" which automatically kills all unnecessary
applications and improve downloading speed when box goes to sleep mode.
* Up on deactivating or uninstalling Priority Manager, if related features activated in
/DISK2/etc/PriorityManagerSettings.txt, Busybox downgrades to the orginal version,swap file
and cron is deactivated all mounted shares are unmounted and plugins are moved back to
original place. A complete rollback without reboot requirement is performed.
SPECIAL THANKS TO:
------------------------------------------------------------------------------------------
Smudger for the all information, tests and power measurements, his tests killed the bugs!
Kanber Kav for his permission for the usage and modification of his Multicas Info plugin
and for the idea of increasing internal storage (DOM) speed!
Bug Reports
------------------------------------------------------------------------------------------
If you have any problems with Priority Manager, activate VERBOSE LOG from user interface
and restart Priority Manager from PLUGINS-->PriorityManager-->Activate/Reactivate.
This will create a verbose log file /Download/PriorityManager_Verbose_Log . Collect data
with this option set to 1, without stopping, restarting, reactivating and deactivating
Priority Manager, because all this operations will delete all old log files. Then send an
e-mail to buyukbang @ gmail.com containing PriorityManager_Verbose_Log with the approximate
time that problem occured.
HISTORY:
------------------------------------------------------------------------------------------
v1.5
-----
NEW: User interface is completely reworked. Toggling all settings from user interface
without any need for using TELNET / FTP is now possible. Added a button to user interface
to review current settings.
NEW: Password protected hidden channel list feature is added.
NEW: Backup /DISK2 and /PLUGINS folder from user interface is added.
NEW: Restore last backup of /DISK2 and /PLUGINS folders from user interface is added.
FIX : Fixed some bugs in "Move Plugins" feature.
INSTALLATION:
------------------------------------------------------------------------------------------
METHOD 1 : USING PLUGINS MENU USER INTERFACE
1. Extract PriorityManager.plugin and plugins.lst files from the archive file.
2. Copy PriorityManager.plugin and plugins.lst to USB or simply transfer them by FTP to
/tmp folder of your Azbox.
3. Enter Plugins menu, press Red Button on remote controller to add plugin. If you're
using USB select to install it from USB, or if you transferred files to /tmp folder
install it from tmp folder.
4. Check user defined parameters in /DISK2/etc/PriorityManagerSettings.txt and edit
parameters if you want, save the file.
5. Activate plugin from the plugins menu: PLUGINS-->PriorityManager-->Activate/Reactivate
6. After the first run of the script standby.sh and wakeup.sh scripts will be created
under /DISK2/etc . These scripts will help to main script for the decision of the sleep
mode by creating and deleting a file ( /tmp/PriorityManager_Sleep ) If you have already
standby.sh and wakeup.sh in /DISK2/etc, they will be backed up by installation process
in the same directory. Then you may want to manually add below commands to scripts
before running Priority Manager:
echo 0 > /tmp/PriorityManager_Sleep = to standby.sh
rm /tmp/PriorityManager_Sleep = to wakeup.sh
METHOD 2 : MANUAL INSTALLATION
Those having difficulties with azbox plugin installation mechanism may choose this method.
1. Rename PriorityManager.plugin as PriorityManager.tgz and extract files with an unzip
tool like winrar, 7-Zip, etc.
2. Upload PriorityManager folder to azbox under /PLUGINS folder.
3. chmod 755 everything in PriorityManager folder and its sub folders.
4. Run following command in TELNET: /PLUGINS/PriorityManager/sh/install.sh
5. Check user defined parameters in /DISK2/etc/PriorityManagerSettings.txt and edit
parameters if you want, save the file.
6. Activate plugin from the plugins menu: PLUGINS-->PriorityManager-->Activate/Reactivate
7. After the first run of the script standby.sh and wakeup.sh scripts will be created
under /DISK2/etc . These scripts will help to main script for the decision of the sleep
mode by creating and deleting a file ( /tmp/PriorityManager_Sleep ) If you have already
standby.sh and wakeup.sh in /DISK2/etc, they will be backed up by installation process
in the same directory. Then you may want to manually add below commands to scripts
before running Priority Manager:
echo 0 > /tmp/PriorityManager_Sleep = to standby.sh
rm /tmp/PriorityManager_Sleep
DESCRIPTION OF THE PROCESSES:
------------------------------------------------------------------------------------------
SDecoderServer - A/V playback and demux
DStar - Menu handler
CRTVCore - TV module
CRTVSetup - TV module
detector_test - file type detection
emu_module - Multicas
file_control - manages file operations.
mbox_module - MBox emu
mgcamd - MgCamd emu
cheops_module - Cheops emu
sbox.sigma - SBox emu
telnetd - telnet server
vsftpd - ftp server
JIPC_Server - manages messages between processes (Java Interprocess Communication Server)
cifsdnotifyd - SAMBA server
cifsoplockd - SAMBA server
xfslogd - XFS log
xfsdatad - XFS
xfsbufd - XFS
ir_control - Remote control
*******_player - *******
Polaris - Browser
browser_control - Browser
rssfeed - RSS
EStar - Photo viewer
LIST OF NEW COMMANDS IN BUSYBOX V1.16:
------------------------------------------------------------------------------------------
ar, arp, arping, blkid, brctl, bzip2, cal, catv, chattr, chpasswd, chpst, cksum, comm,
cpio, crond, crontab, cryptpw, cttyhack, depmod, devfsd, devmem, dhcprelay, diff, dnsd,
dnsdomainname, dumpkmap, ed, eject, envdir, envuidgid, ether-wake, expand, fakeidentd,
fbsplash, fdflush, findfs, flash_eraseall, flash_lock, flash_unlock, flashcp, fold, fsck,
fsck.minix, fsync, ftpd, ftpget, ftpput, fuser, hd, httpd, hush, ifenslave, ifplugd,
inetd, ip, ipaddr, ipcalc, ipcrm, ipcs, iplink, iproute, iprule, iptunnel, kbd_mode,
killall5, length, linux32, linux64, loadfont, loadkmap, logread, losetup, lpd, lpq, lpr,
lsattr, lspci, lsusb, lzmacat, lzop, lzopcat, makemime, man, mdev, mesg, microcom,
mkdosfs, mke2fs, mkfs.ext2, mkfs.minix, mkfs.reiser, mkfs.vfat, mkpasswd, mountpoint,
msh, nameif, nc, nice, nmeter, nohup, ntpd, patch, pgrep, ping6, pkill, popmaildir,
printenv, pscan, rdev, readprofile, realpath, reformime, resize, rpm, rpm2cpio, rtcwake,
runlevel, runsv, runsvdir, script, scriptreplay, sendmail, seq, setarch, setconsole,
setfont, setkeycodes, setlogcons, setsid, setuidgid, sha256sum, sha512sum, showkey,
slattach, softlimit, split, stat, sum, sv, svlogd, switch_root, tac, tcpsvd, tftpd,
timeout, tr, traceroute6, tunctl, tune2fs, udpsvd, uncompress, unexpand, unlzma, unlzop,
volname, wall, watch, watchdog, who, zcip
Download