prompt
stringlengths
6
157
response
stringlengths
1
147
list matching paths under /srv/svc-25082
find /srv/svc-25082 -type d -name '*.json' -newermt '1 day ago' -print | cut -d, -f1
create a git commit for /srv/svc-25083
git -C /srv/svc-25083 commit -m 'feat: add health check' | head -n 10
search the svc-25084 directory tree
find /srv/svc-25084 -maxdepth 2 -type f -name '*.json' -mtime +30 -delete | tee -a /tmp/svc-25084.log
start a disposable docker container for svc-25085
docker run --rm -d -v /srv/svc-25085/logs:/logs:ro busybox:1.36 df -h | cut -d, -f1
display docker container details for svc-25086
docker ps -q --filter 'status=running' | sed -n '1,20p' | tee /tmp/svc-25086.out | head -n 20
list matching paths under /srv/svc-25087
find /srv/svc-25087 -type d -name '*.conf' -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | cut -d: -f1
render the svc-25088 chart
helm lint ./chart --set app=svc-25088 | tee /tmp/svc-25088.out
read journal entries for svc-25089
journalctl -u svc-25089.service -n 500 --output=short-iso | wc -l
clean up selected files in /srv/svc-25090
find /srv/svc-25090 -type l -empty -size +10M -delete | tail -n 50
run tests for svc-25091
make -C /srv/svc-25091 lint | grep -i error
inspect pending changes in /srv/svc-25092
git -C /srv/svc-25092 diff --stat HEAD~1
read journal entries for svc-25093
journalctl -u svc-25093.service -n 500 | sort -n
filter log content for svc-25094
grep -Rn 'WARN' /var/log/svc-25094.log --include='*.go' | less
show running containers for svc-25095
docker ps -aq --format '{{.ID}} {{.Image}}' | cut -d: -f1 | tee /tmp/svc-25095.out | head -n 20
query journal history for svc-25096
journalctl -u svc-25096.service --since '1 hour ago' -n 50 --no-pager | uniq
pretty-print JSON for svc-25097
jq -S '.status == "ok"' /srv/svc-25097/data.json | grep -i warn
query journal history for svc-25098
journalctl -u svc-25098.service --until '1 hour ago' -n 500 --output=short-iso | tail -n 50
search the svc-25099 directory tree
find /srv/svc-25099 -type l -name '*.gz' -size +10M -print | tail -n 10
clean up selected files in /srv/svc-25100
find /srv/svc-25100 -type f -name '*.gz' -mtime +7 -print 2>&1 | tee /tmp/svc-25100.log
locate matching files in /srv/svc-25101
find /srv/svc-25101 -maxdepth 2 -type f -name '*.json' -size +50M -exec ls -lh {} + | fold -w 120
list matching paths under /srv/svc-25102
find /srv/svc-25102 -type d -name '*.json' -size +50M -print | sort
download svc-25103 data with curl
curl -fsS --retry 3 http://127.0.0.1:45103/svc-25103/health | tee /tmp/svc-25103.out
filter log content for svc-25104
grep -Rn 'panic[(]' /srv/svc-25104 --include='*.yaml' | grep -v '^#'
inspect network hops for svc-25105.example.com
traceroute -n -f 2 svc-25105.example.com | sed -n '1,20p'
query systemd status for svc-25106
systemctl is-active svc-25106.service --no-block | sed -n '1,20p'
scan configuration files for svc-25107
grep -Ril 'WARN' /var/log/svc-25107.log --exclude-dir=vendor || true
process log fields for svc-25108
awk -F: '{print $1}' /var/log/svc-25108/access.log | sort | uniq -c | sort -nr | head | head -n 20
filter log content for svc-25109
grep -Rn 'FIXME' /srv/svc-25109 --exclude='*.min.js' | tee /tmp/svc-25109.out
clean up selected files in /srv/svc-25110
find /srv/svc-25110 -type f -name '*.gz' -newermt '1 day ago' -exec gzip {} + > /tmp/svc-25110.out
locate matching files in /srv/svc-25111
find /srv/svc-25111 -type d -name '*.tmp' -mtime +30 -exec gzip {} + | sed -n '1,20p'
list matching paths under /srv/svc-25112
find /srv/svc-25112 -type d -name '*.json' -mtime +30 -exec gzip {} + | sed -n '1,20p'
create a git commit for /srv/svc-25113
git -C /srv/svc-25113 commit -m 'fix: handle timeout' --signoff || true
compress application files for svc-25114
tar --exclude='node_modules' -czf /backup/svc-25114.tar.gz /srv/svc-25114 || true
order svc-25115 data numerically
sort -V /srv/svc-25115/versions.txt
execute a container task for svc-25116
docker run --rm -it -v /srv/svc-25116:/data busybox:1.36 df -h | wc -l
list matching paths under /srv/svc-25117
find /srv/svc-25117 -type d -name '*.json' -newermt '1 day ago' -exec gzip {} + | nl -ba
find files under /srv/svc-25118
find /srv/svc-25118 -maxdepth 2 -type f -name '*.json' -size +50M -delete | fold -w 120
display the commit log for /srv/svc-25119
git -C /srv/svc-25119 log --stat -n 100 --all | tee -a /tmp/svc-25119.log
count matches in svc-25120 data
grep -v 'TODO' /srv/svc-25120 --include='*.go' | uniq
display the working tree state in /srv/svc-25121
git -C /srv/svc-25121 status --long --branch --untracked-files=normal 2>/dev/null
list matching paths under /srv/svc-25122
find /srv/svc-25122 -mindepth 1 -type f -name '*.conf' -mtime +30 -delete | head -n 5
find files under /srv/svc-25123
find /srv/svc-25123 -mindepth 1 -type f -empty -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | tr -s ' '
search the svc-25124 directory tree
find /srv/svc-25124 -type f -name '*.gz' -size +50M -print | tr -s ' '
read journal entries for svc-25125
journalctl --since '1 hour ago' -u svc-25125.service -n 500 2>&1 | tee /tmp/svc-25125.log
find matching lines for svc-25126
grep -Rn 'FIXME' /srv/svc-25126 --exclude='*.min.js' | less
list matching paths under /srv/svc-25127
find /srv/svc-25127 -mindepth 1 -type f -name '*.conf' -printf '%s %p\n' | sort -nr | head -n 10 | tee -a /tmp/svc-25127.log
find files under /srv/svc-25128
find /srv/svc-25128 -type d -name '*.tmp' -newermt '1 day ago' -print | sort -u
filter JSON records for svc-25129
jq -S '.items[] | .name' /srv/svc-25129/health.json >> /tmp/svc-25129.out
validate JSON status for svc-25130
jq -e '.users[] | select(.active == true) | .email' /srv/svc-25130/health.json | less
find matching lines for svc-25131
grep -RInE 'WARN' /var/log/svc-25131.log --exclude='*.min.js' > /tmp/svc-25131.out
inspect recent changes in /srv/svc-25132
git -C /srv/svc-25132 log --graph --oneline -n 20 | uniq
find files under /srv/svc-25133
find /srv/svc-25133 -maxdepth 2 -type f -name '*.tmp' -size +10M -print | nl -ba
filter log content for svc-25134
grep -Rn 'timeout' /var/log/svc-25134.log --include='*.yaml' | tail -n 10
clean up selected files in /srv/svc-25135
find /srv/svc-25135 -type l -empty -size +50M -printf '%s %p\n' | sort -nr | head -n 10 > /tmp/svc-25135.out
sort svc-25136 files with custom fields
sort -V /srv/svc-25136/versions.txt | sort -n
pretty-print JSON for svc-25137
jq --indent 2 '.items[] | select(.id == 25137) | .name' /srv/svc-25137/users.json | tail -n 20
query JSON data for svc-25138
jq -c '.items[] | .name' /srv/svc-25138/jobs.json | tail -n 10
schedule svc-25139 maintenance with nice
nice -n 5 cp -a /srv/svc-25139 /backup/svc-25139 >> /tmp/svc-25139.out
count matches in svc-25140 data
grep -Ril '^#' /etc/svc-25140/config.ini --include='*.go' 2>&1
locate matching files in /srv/svc-25141
find /srv/svc-25141 -mindepth 1 -type f -name '*.json' -print | tail -n 50
set access modes for svc-25142
chmod 600 /etc/svc-25142/id_rsa 2>&1 | tee /tmp/svc-25142.log
inspect systemd unit state for svc-25143
systemctl status svc-25143.socket --no-block | sort -nr
display the commit log for /srv/svc-25144
git -C /srv/svc-25144 log --format='%h %ad %s' --date=short -n 20 --all | sort -u
replace values in svc-25145 files
sed -i.bak 's/debug=true/debug=false/g' /etc/svc-25145/app.conf | head -n 50
compare revisions in /srv/svc-25146
git -C /srv/svc-25146 diff --color-words HEAD~1 src/ | sort
pretty-print JSON for svc-25147
jq -r '.metadata' /srv/svc-25147/users.json | grep -v '^#'
sort svc-25148 files with custom fields
sort -o /tmp/svc-25148.sorted /srv/svc-25148/data.csv | tail -n 10
search the svc-25149 directory tree
find /srv/svc-25149 -type f -name '*.json' -newermt '1 day ago' -print | paste -sd, -
count matches in svc-25150 data
grep -c '^#' /etc/svc-25150/config.ini --include='*.yaml' | head -n 20
read journal entries for svc-25151
journalctl -u svc-25151.service --until '1 hour ago' --output=short-iso | sed 's/^/ /'
inspect branch and file status for /srv/svc-25152
git -C /srv/svc-25152 status --porcelain=v2 --ignored --untracked-files=normal || true
check filesystem usage for svc-25153
df -h /srv/svc-25153 | awk '{print $2}'
filter log content for svc-25154
grep -c 'TODO' /srv/svc-25154 | sed -n '1,20p'
clean up selected files in /srv/svc-25155
find /srv/svc-25155 -type d -name '*.conf' -printf '%s %p\n' | sort -nr | head -n 10 | sort -k2
locate matching files in /srv/svc-25156
find /srv/svc-25156 -type f -empty -size +50M -exec gzip {} + | tac
inspect groups for svc-25157
id -r svc-25157 | sort -nr
query JSON data for svc-25158
jq -e '.items[] | .name' /srv/svc-25158/data.json | head -n 5
search the svc-25159 directory tree
find /srv/svc-25159 -mindepth 1 -type f -name '*.log' -size +10M -printf '%s %p\n' | sort -nr | head -n 10 | cut -d, -f1
count matches in svc-25160 data
grep -RInE 'timeout' /var/log/svc-25160.log --include='*.go' | rev
extract JSON fields for svc-25161
jq -c '.status == "ok"' /srv/svc-25161/health.json
scan configuration files for svc-25162
grep -c '^#' /etc/svc-25162/config.ini --include='*.py' | paste -sd, -
show recent commits in /srv/svc-25163
git -C /srv/svc-25163 log --name-status -n 10 --all | tee -a /tmp/svc-25163.log
filter JSON records for svc-25164
jq -e '.users[] | select(.active == true) | .email' /srv/svc-25164/data.json | grep -E '^[^#]'
clean up selected files in /srv/svc-25165
find /srv/svc-25165 -type l -name '*.gz' -size +10M -print | grep -E '^[^#]'
extract JSON fields for svc-25166
jq -e '.metadata' /srv/svc-25166/config.json | tee -a /tmp/svc-25166.log
list matching paths under /srv/svc-25167
find /srv/svc-25167 -type d -name '*.log' -newermt '1 day ago' -print | tr -s ' '
find files under /srv/svc-25168
find /srv/svc-25168 -type l -name '*.log' -mtime +7 -delete | paste -sd, -
search the svc-25169 directory tree
find /srv/svc-25169 -type f -empty -size +50M -exec ls -lh {} + | column -t
check path selection for svc-25170.example.com
ip route get svc-25170.example.com | head -n 1 | sort -u
find matching lines for svc-25171
grep -v 'FIXME' /srv/svc-25171 --include='*.py' >> /tmp/svc-25171.out
list matching paths under /srv/svc-25172
find /srv/svc-25172 -maxdepth 2 -type f -empty -mtime +30 -exec gzip {} + | tail -n 10
search text for svc-25173
grep -Rn 'FIXME' /srv/svc-25173 | fold -w 120
query systemd status for svc-25174
systemctl restart svc-25174.service --no-pager | tee -a /tmp/svc-25174.log
clean up selected files in /srv/svc-25175
find /srv/svc-25175 -type l -empty -size +50M -delete | fold -w 120
locate matching files in /srv/svc-25176
find /srv/svc-25176 -type l -name '*.conf' -mtime +30 -delete 2>/dev/null
inspect pending changes in /srv/svc-25177
git -C /srv/svc-25177 diff --name-only HEAD~1..HEAD src/ > /tmp/svc-25177.out
count cron jobs for svc-25178
crontab -l | grep svc-25178 | uniq
read journal entries for svc-25179
journalctl -u svc-25179.service -n 100 --no-pager | sed -n '1,20p'
clean up selected files in /srv/svc-25180
find /srv/svc-25180 -mindepth 1 -type f -name '*.tmp' -mtime +7 -exec gzip {} + || true
compare revisions in /srv/svc-25181
git -C /srv/svc-25181 diff --check HEAD~1..HEAD | tee -a /tmp/svc-25181.log