Monthly Archives: March 2018

How to automate FTP transfers in Linux Shell Scripting The heredocs We are going to use a bash feature called “here documents” or heredocs. The main use of this feature is to enable entering multiple lines of input into an interactive prompt. It starts with any string preceded … Continue reading

Posted in linux | Tagged , , | Leave a comment

Linux Configure Keyboard in Console

To change the keyboard layout you have to change Yast keyboard xWindows keyboard 1. Change the YaST Keyboard cat /etc/sysconfig/keyboard YAST_KEYBOARD=”english-uk,pc104″ Keyboard mappings (keymaps) for virtual console, console fonts and console maps are provided by the kbd package (a … Continue reading

Posted in linux | Tagged , | Leave a comment

Delete the Core Dump Files on Linux

From   linux-31cz:~ # cd /var/lib/systemd/coredump linux-31cz:/var/lib/systemd/coredump # ls -al total 1564 drwxr-xr-x 1 root root 1168 Mar 21 16:15 . drwxr-xr-x 1 root root 104 Jan 18 12:37 .. -rw-r—–+ 1 root root 1353928 Mar 20 15:57 core.Microsoft\x2eVSCod.1000.11f2d1fbf8054bff8ddb50ac88599352.4968.1521554204000000.xz … Continue reading

Posted in linux | Tagged , , | Leave a comment

TSM Extend StgPool Capacity and Show Backup Objects

To extend the capacity of FCM stgpool run: dsmadmc -node=admin q stg Notice the big capacity stgpool that can be used for the nextstgpool param for the little 100MB capacity FCM_SPFS stgpool. update stg    FCM_SPFS    NEXTstgpool=IBM_DEPLOY_CLIENT_POOL To show the FCM … Continue reading

Posted in data protection | Tagged , , | Leave a comment

What size does TSM backup hold?

Run dsmadmin, and inside the TSM SQL statement: SELECT CAST(FLOAT(SUM(bk.bfsize))/1024/1024/1024 as DEC(14,1)) as size_gb, count(bk.bfsize) as number_of_objects FROM backups b, backup_objects bk WHERE b.state=’ACTIVE_VERSION’ and b.object_id=bk.objid and b.node_name=’node_SQL’

Posted in Uncategorized | Tagged | Leave a comment