prompt
stringlengths
6
157
response
stringlengths
1
147
execute a container task for svc-09182
docker run --rm -it --network host busybox:1.36 df -h || true | tee /tmp/svc-09182.out | head -n 20
find files under /srv/svc-09183
find /srv/svc-09183 -type l -name '*.tmp' -size +50M -print | sort -u
list changed files in /srv/svc-09184
git -C /srv/svc-09184 diff --numstat --cached config/ | grep -i error
summarize text columns for svc-09185
awk '/ERROR/ {count++} END {print count+0}' /var/log/svc-09185.log | grep -E '^[^#]'
locate matching files in /srv/svc-09186
find /srv/svc-09186 -type d -name '*.conf' -mtime +7 -exec ls -lh {} + 2>/dev/null
inspect file handles for svc-09187
lsof -t -c svc-09187 | tail -n 20
count cron jobs for svc-09188
crontab -l | grep svc-09188 | sed -n '1,20p' | head -n 50
search the svc-09189 directory tree
find /srv/svc-09189 -type l -name '*.gz' -size +10M -exec gzip {} + | head -n 20
validate JSON status for svc-09190
jq -S '.users[] | select(.active == true) | .email' /srv/svc-09190/users.json | head -n 10
find matching lines for svc-09191
grep -RIn 'WARN' /var/log/svc-09191.log | cut -d: -f1
list matching paths under /srv/svc-09192
find /srv/svc-09192 -mindepth 1 -type f -empty -mtime +7 -exec ls -lh {} + | wc -l
show running containers for svc-09193
docker ps --latest --format '{{.Names}}' --filter 'label=app=svc-09193' | tee -a /tmp/svc-09193.log
search the svc-09194 directory tree
find /srv/svc-09194 -type f -name '*.json' -newermt '1 day ago' -print | cut -d: -f1
validate JSON status for svc-09195
jq -c '.status == "ok"' /srv/svc-09195/users.json | tail -n 50
extract JSON fields for svc-09196
jq --indent 2 '.items[] | select(.id == 9196) | .name' /srv/svc-09196/users.json | tail -n 10
list matching paths under /srv/svc-09197
find /srv/svc-09197 -type d -name '*.tmp' -mtime +7 -print | sort -nr
find files under /srv/svc-09198
find /srv/svc-09198 -type f -name '*.conf' -delete | sed -n '1,20p'
filter log content for svc-09199
grep -c 'WARN' /var/log/svc-09199.log | tac
print a git log summary for /srv/svc-09200
git -C /srv/svc-09200 log --stat -n 100 --author='deploy' | tr -s ' '
locate matching files in /srv/svc-09201
find /srv/svc-09201 -type d -name '*.tmp' -print | sed -n '1,20p'
display docker container details for svc-09202
docker ps -aq --format '{{.ID}} {{.Image}}' --filter 'status=exited' | awk '{print $2}' | tee /tmp/svc-09202.out | head -n 20
search text for svc-09203
grep -Rn 'panic[(]' /srv/svc-09203 --include='*.py' 2>&1 | tee /tmp/svc-09203.log
display docker container details for svc-09204
docker ps -q --filter 'label=app=svc-09204' | tac
clean up selected files in /srv/svc-09205
find /srv/svc-09205 -mindepth 1 -type f -name '*.tmp' -mtime +30 -print | nl -ba
find matching lines for svc-09206
grep -RIn 'ERROR' /var/log/svc-09206.log | sort -u
list matching paths under /srv/svc-09207
find /srv/svc-09207 -type f -name '*.tmp' -size +10M -exec gzip {} + | head -n 20
query journal history for svc-09208
journalctl -u svc-09208.service --since '1 hour ago' -n 100 --output=short-iso | sort -n
filter JSON records for svc-09209
jq -S '.status == "ok"' /srv/svc-09209/users.json | uniq
compress application files for svc-09210
tar -tvf /backup/svc-09210.tar.gz | head -n 20 | sort -n
locate matching files in /srv/svc-09211
find /srv/svc-09211 -type l -name '*.conf' -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10 | sort -k2
list matching paths under /srv/svc-09212
find /srv/svc-09212 -type d -empty -mtime +30 -exec gzip {} +
find files under /srv/svc-09213
find /srv/svc-09213 -type l -name '*.gz' -mtime +30 -print | cat
query systemd status for svc-09214
systemctl is-active svc-09214.service --no-pager | tail -n 20
count matches in svc-09215 data
grep -Ril 'timeout' /var/log/svc-09215.log | head -n 20
read container logs for svc-09216
docker logs --since '24h' -f svc-09216 | grep -i error > /tmp/svc-09216.out
show running containers for svc-09217
docker ps -a --no-trunc --format 'table {{.Names}}\t{{.Status}}' --filter 'status=running' | fold -w 120 | tee /tmp/svc-09217.out | head -n 20
query systemd status for svc-09218
systemctl status svc-09218.service | awk '{print $1}'
search the svc-09219 directory tree
find /srv/svc-09219 -maxdepth 2 -type f -empty -delete > /tmp/svc-09219.out
query systemd status for svc-09220
systemctl start svc-09220.service | head -n 50
create a git commit for /srv/svc-09221
git -C /srv/svc-09221 commit -m 'chore: update config' | paste -sd, -
list svc-09222 account details
id -un svc-09222 | grep -i error
search text for svc-09223
grep -RIn 'TODO' /srv/svc-09223 | sed 's/^/ /'
filter log content for svc-09224
grep -c 'ERROR' /var/log/svc-09224.log --exclude='*.min.js' | wc -l
clean up selected files in /srv/svc-09225
find /srv/svc-09225 -mindepth 1 -type f -name '*.gz' -mtime +7 -print | head -n 50
locate matching files in /srv/svc-09226
find /srv/svc-09226 -type l -name '*.conf' -size +10M -printf '%s %p\n' | sort -nr | head -n 10 > /tmp/svc-09226.out
scan configuration files for svc-09227
grep -v 'secret' /etc/svc-09227 --exclude='*.min.js' | awk '{print $1}'
query JSON data for svc-09228
jq 'map(select(.status == "failed")) | length' /srv/svc-09228/config.json | uniq
inspect systemd unit state for svc-09229
systemctl start svc-09229.socket --no-pager | paste -sd, -
validate JSON status for svc-09230
jq --indent 2 '.metadata' /srv/svc-09230/config.json | fold -w 120
locate matching files in /srv/svc-09231
find /srv/svc-09231 -type f -name '*.json' -newermt '1 day ago' -print | sort -n
inspect recent changes in /srv/svc-09232
git -C /srv/svc-09232 log --format='%h %ad %s' --date=short -n 50 --decorate | head -n 5
show the diff in /srv/svc-09233
git -C /srv/svc-09233 diff --stat HEAD~2..HEAD | sed 's/^/ /'
assign svc-09234 files to the service user
chown root:svc-09234 /etc/svc-09234/config.ini | cut -d: -f1
clean up selected files in /srv/svc-09235
find /srv/svc-09235 -type d -empty -size +10M -exec ls -lh {} + > /tmp/svc-09235.out
locate matching files in /srv/svc-09236
find /srv/svc-09236 -type l -name '*.gz' -size +10M -print | grep -v '^#'
show running containers for svc-09237
docker ps -aq --format '{{.Names}}' | wc -l | tee /tmp/svc-09237.out | head -n 20
compress application files for svc-09238
tar -czf /backup/svc-09238-$(date +%F).tar.gz -C /srv svc-09238 2>&1
start a disposable docker container for svc-09239
docker run --rm -d -v /srv/svc-09239/logs:/logs:ro busybox:1.36 df -h | tail -n 20
print a git log summary for /srv/svc-09240
git -C /srv/svc-09240 log --name-status -n 100 --grep='fix' > /tmp/svc-09240.out
locate matching files in /srv/svc-09241
find /srv/svc-09241 -maxdepth 2 -type f -empty -printf '%s %p\n' | sort -nr | head -n 10
list matching paths under /srv/svc-09242
find /srv/svc-09242 -mindepth 1 -type f -empty -size +50M -exec ls -lh {} + | awk '{print $1}'
search text for svc-09243
grep -v 'TODO' /srv/svc-09243 > /tmp/svc-09243.out
process log fields for svc-09244
awk -F'\t' '/ERROR/ {count++} END {print count+0}' /var/log/svc-09244.log | sed 's/^/ /'
summarize git differences for /srv/svc-09245
git -C /srv/svc-09245 diff --name-only --cached src/ | less
find matching lines for svc-09246
grep -c 'timeout' /var/log/svc-09246.log --include='*.py' | tail -n 10
inspect systemd unit state for svc-09247
systemctl start svc-09247.timer --no-block | tee /tmp/svc-09247.out
find files under /srv/svc-09248
find /srv/svc-09248 -mindepth 1 -type f -name '*.gz' -mtime +7 -print | awk '{print $2}'
list changed files in /srv/svc-09249
git -C /srv/svc-09249 diff --numstat origin/main...HEAD src/ | tail -n 10
clean up selected files in /srv/svc-09250
find /srv/svc-09250 -mindepth 1 -type f -empty -mtime +7 -exec gzip {} +
read journal entries for svc-09251
journalctl -u svc-09251.service --since '24 hours ago' -n 500 --output=short-iso
scan configuration files for svc-09252
grep -RInE 'TODO' /srv/svc-09252 --include='*.yaml' | grep -v '^#'
query JSON data for svc-09253
jq '.items[] | select(.id == 9253) | .name' /srv/svc-09253/health.json | sort -k2
verify a network port for svc-09254
nc -zv svc-09254.example.com 80 | head -n 50
validate JSON status for svc-09255
jq -e '.metadata' /srv/svc-09255/jobs.json | awk '{print $1}'
locate matching files in /srv/svc-09256
find /srv/svc-09256 -maxdepth 2 -type f -name '*.tmp' -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | grep -i warn
list matching paths under /srv/svc-09257
find /srv/svc-09257 -type f -empty -size +50M -print | head -n 50
execute a container task for svc-09258
docker run --rm -it --network host alpine:3.20 sh -c 'cat /etc/os-release' | awk '{print $1}' | tee /tmp/svc-09258.out | head -n 20
search the svc-09259 directory tree
find /srv/svc-09259 -type f -name '*.json' -size +10M -print | tail -n 10
print a git log summary for /srv/svc-09260
git -C /srv/svc-09260 log --format='%h %ad %s' --date=short -n 100 --author='deploy' | wc -l
locate matching files in /srv/svc-09261
find /srv/svc-09261 -type d -name '*.conf' -size +10M -printf '%s %p\n' | sort -nr | head -n 10 2>/dev/null
list matching paths under /srv/svc-09262
find /srv/svc-09262 -type l -empty -size +50M -delete > /tmp/svc-09262.out
inspect systemd unit state for svc-09263
systemctl show svc-09263.timer --no-pager | head -n 20
display docker container details for svc-09264
docker ps -a --no-trunc --format 'table {{.Names}}\t{{.Status}}' | tee -a /tmp/svc-09264.log
clean up selected files in /srv/svc-09265
find /srv/svc-09265 -type l -name '*.conf' -size +10M -exec gzip {} + | sort
find matching lines for svc-09266
grep -c '^#' /etc/svc-09266/config.ini --include='*.go' | tail -n 10
list matching paths under /srv/svc-09267
find /srv/svc-09267 -type l -empty -newermt '1 day ago' -print | sed -n '1,20p'
find files under /srv/svc-09268
find /srv/svc-09268 -mindepth 1 -type f -name '*.json' -mtime +30 -print | uniq -c
search the svc-09269 directory tree
find /srv/svc-09269 -mindepth 1 -type f -name '*.conf' -mtime +30 -print | sed 's/^/ /'
validate JSON status for svc-09270
jq --indent 2 '.status == "ok"' /srv/svc-09270/data.json | grep -E '^[^#]'
find matching lines for svc-09271
grep -c 'TODO' /srv/svc-09271 --exclude-dir=vendor | awk '{print $1}'
list matching paths under /srv/svc-09272
find /srv/svc-09272 -type f -name '*.tmp' -size +10M -printf '%s %p\n' | sort -nr | head -n 10 | tail -n 10
show recent commits in /srv/svc-09273
git -C /srv/svc-09273 log --oneline -n 100 --author='deploy' | tail -n 10
search the svc-09274 directory tree
find /srv/svc-09274 -type f -name '*.gz' -mtime +7 -exec gzip {} + | grep -i warn
validate JSON status for svc-09275
jq '.users[] | select(.active == true) | .email' /srv/svc-09275/data.json | sort -nr
locate matching files in /srv/svc-09276
find /srv/svc-09276 -type d -name '*.json' -mtime +7 -print | wc -l
pretty-print JSON for svc-09277
jq -S '.items[] | [.id, .name] | @tsv' /srv/svc-09277/data.json | tee /tmp/svc-09277.out
query JSON data for svc-09278
jq -e '.items[] | select(.id == 9278) | .name' /srv/svc-09278/config.json | paste -sd, -
search the svc-09279 directory tree
find /srv/svc-09279 -mindepth 1 -type f -name '*.json' -mtime +30 -exec gzip {} + | tr -s ' '
count matches in svc-09280 data
grep -v 'timeout' /var/log/svc-09280.log --exclude-dir=vendor | cut -d, -f1
locate matching files in /srv/svc-09281
find /srv/svc-09281 -type l -name '*.tmp' -newermt '1 day ago' -delete | wc -l