This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version='1.0'?> | |
| <!DOCTYPE service_bundle SYSTEM '/usr/share/lib/xml/dtd/service_bundle.dtd.1'> | |
| <service_bundle type='manifest' name='export'> | |
| <service name='application/zabbix-agent' type='service' version='0'> | |
| <single_instance/> | |
| <dependency name='fs-local' grouping='require_all' restart_on='none' type='service'> | |
| <service_fmri value='svc:/system/filesystem/local'/> | |
| </dependency> | |
| <exec_method name='start' type='method' exec='/opt/csw/sbin/amd64/zabbix_agentd -c /etc/opt/csw/zabbix_agentd.conf' timeout_seconds='60'> | |
| <method_context/> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- | |
| - | |
| become: true | |
| become_user: root | |
| hosts: all | |
| remote_user: ubuntu | |
| tasks: | |
| - name: update apt list of files | |
| apt: | |
| update_cache: true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # a=(a b k l m n o p q r s t c u v w x d e f g h i j) | |
| # for v in ${a[@]}; do smartctl -H /dev/sd$v | grep -i health ;done |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| nodejs-user@vm-api-06-Ireland-Prod:~/.pm2/logs$ tail -100 server-error-0.log | |
| (node:29473) Warning: Possible EventEmitter memory leak detected. 11 wakeup listeners added. Use emitter.setMaxListeners() to increase limit | |
| (node:29473) Warning: Possible EventEmitter memory leak detected. 11 wakeup listeners added. Use emitter.setMaxListeners() to increase limit | |
| (node:29473) Warning: Possible EventEmitter memory leak detected. 11 wakeup listeners added. Use emitter.setMaxListeners() to increase limit | |
| (node:29473) Warning: Possible EventEmitter memory leak detected. 11 wakeup listeners added. Use emitter.setMaxListeners() to increase limit | |
| (node:29473) Warning: Possible EventEmitter memory leak detected. 11 wakeup listeners added. Use emitter.setMaxListeners() to increase limit | |
| (node:29473) Warning: Possible EventEmitter memory leak detected. 11 wakeup listeners added. Use emitter.setMaxListeners() to increase limit | |
| (node:29473) Warning: Possible EventEmitter memory leak detected. 11 wakeup listeners added. Use emit |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ~ # cat /etc/profile | |
| #!/bin/sh | |
| export TERMINFO=/usr/share/terminfo | |
| PATH=/bin:/sbin | |
| export PATH | |
| umask 0022 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ~ # cat /etc/profile.local | |
| # profile.local | |
| LD_LIBRARY_PATH=/opt/lsi/MegaCLI | |
| export LD_LIBRARY_PATH | |
| PATH=/bin:/sbin:/opt/lsi/MegaCLI | |
| ~ # |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| WriteResult({ "nMatched" : 1, "nUpserted" : 0, "nModified" : 1 }) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var temp; | |
| var ar; | |
| var i; | |
| ar = []; | |
| i=0; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| disk=$1 | |
| sd=`echo "*sd_state::softstate 0t$disk" | mdb -kw` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function asdf(a,b) { | |
| for (var i=0; i < a.length; i++) { | |
| if ( a[i] === b ) { | |
| return i; | |
| }; | |
| }; |
OlderNewer