prompt
stringlengths
6
157
response
stringlengths
1
147
scan configuration files for svc-19282
grep -n -A3 -B3 'WARN' /var/log/svc-19282.log --exclude-dir=vendor | less
show running containers for svc-19283
docker ps -aq | uniq -c | tee /tmp/svc-19283.out | head -n 20
search the svc-19284 directory tree
find /srv/svc-19284 -type d -empty -exec ls -lh {} + 2>/dev/null
clean up selected files in /srv/svc-19285
find /srv/svc-19285 -type d -name '*.tmp' -mtime +30 -print | rev
check cluster state for svc-19286
kubectl get pods -n svc-19286 --field-selector=status.phase=Running | grep -i warn
replace values in svc-19287 files
sed -i 's/[[:space:]]\+$//' /etc/svc-19287/config.yml
find files under /srv/svc-19288
find /srv/svc-19288 -type l -name '*.log' -size +50M -exec gzip {} + | head -n 5
filter JSON records for svc-19289
jq -S 'map(select(.status == "failed")) | length' /srv/svc-19289/health.json | sort -u
list repository status details in /srv/svc-19290
git -C /srv/svc-19290 status | grep -i error
replace values in svc-19291 files
sed -i.bak '/start/,/end/p' /etc/svc-19291/config.yml | wc -l
list matching paths under /srv/svc-19292
find /srv/svc-19292 -type l -name '*.log' -mtime +7 -exec ls -lh {} + | cut -d: -f1
secure svc-19293 secrets
chmod 640 /etc/svc-19293/secrets.env | awk '{print $1}'
search the svc-19294 directory tree
find /srv/svc-19294 -type f -name '*.log' -size +50M -printf '%s %p\n' | sort -nr | head -n 10 | awk '{print $1}'
summarize git differences for /srv/svc-19295
git -C /srv/svc-19295 diff --check | cat
list git history for /srv/svc-19296
git -C /srv/svc-19296 log --graph --oneline -n 100 --grep='fix' | tail -n 10
read journal entries for svc-19297
journalctl -u svc-19297.service --until '1 hour ago' -n 50 -f | grep -E '^[^#]'
find files under /srv/svc-19298
find /srv/svc-19298 -maxdepth 2 -type f -name '*.json' -newermt '1 day ago' -delete | cut -d, -f1
filter JSON records for svc-19299
jq -e '.services | keys[]' /srv/svc-19299/health.json | tee -a /tmp/svc-19299.log
clean up selected files in /srv/svc-19300
find /srv/svc-19300 -type d -name '*.json' -mtime +30 -exec gzip {} + | sort -u
locate matching files in /srv/svc-19301
find /srv/svc-19301 -type l -name '*.conf' -mtime +30 -delete | tail -n 10
list matching paths under /srv/svc-19302
find /srv/svc-19302 -type f -empty -newermt '1 day ago' -exec ls -lh {} + 2>&1 | tee /tmp/svc-19302.log
find files under /srv/svc-19303
find /srv/svc-19303 -type d -name '*.gz' -mtime +7 -exec gzip {} + | column -t
search the svc-19304 directory tree
find /srv/svc-19304 -mindepth 1 -type f -name '*.conf' -size +50M -print | awk '{print $1}'
summarize git differences for /srv/svc-19305
git -C /srv/svc-19305 diff --color-words HEAD~1 | tee -a /tmp/svc-19305.log
compare revisions in /srv/svc-19306
git -C /srv/svc-19306 diff --numstat origin/main...HEAD -- | sort
list matching paths under /srv/svc-19307
find /srv/svc-19307 -maxdepth 2 -type f -name '*.tmp' -size +10M -exec gzip {} + | tee -a /tmp/svc-19307.log
execute a container task for svc-19308
docker run --rm -it -v /srv/svc-19308:/data busybox:1.36 df -h | paste -sd, -
search the svc-19309 directory tree
find /srv/svc-19309 -maxdepth 2 -type f -name '*.tmp' -mtime +7 -exec gzip {} + | cut -d, -f1
clean up svc-19310 text files
sed -i 's/debug=true/debug=false/g' /etc/svc-19310/app.conf | uniq
locate matching files in /srv/svc-19311
find /srv/svc-19311 -type l -name '*.gz' -mtime +7 -exec gzip {} + | head -n 20
query systemd status for svc-19312
systemctl reload svc-19312.service --no-block | tail -n 50
show running containers for svc-19313
docker ps -q --filter 'status=exited' | fold -w 120 | tee /tmp/svc-19313.out | head -n 20
search the svc-19314 directory tree
find /srv/svc-19314 -maxdepth 2 -type f -name '*.gz' -exec gzip {} + | paste -sd, -
clean up selected files in /srv/svc-19315
find /srv/svc-19315 -mindepth 1 -type f -name '*.json' -mtime +30 -print | awk '{print $2}'
display the working tree state in /srv/svc-19316
git -C /srv/svc-19316 status --long --untracked-files=all | head -n 10
replace values in svc-19317 files
sed -i.bak '1,120p' /var/log/svc-19317.log 2>/dev/null
find files under /srv/svc-19318
find /srv/svc-19318 -type d -name '*.json' -size +50M -printf '%s %p\n' | sort -nr | head -n 10 | awk '{print $2}'
filter log content for svc-19319
grep -Rn 'FIXME' /srv/svc-19319 | awk '{print $1}'
clean up selected files in /srv/svc-19320
find /srv/svc-19320 -mindepth 1 -type f -name '*.tmp' -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10 | grep -E '^[^#]'
locate matching files in /srv/svc-19321
find /srv/svc-19321 -type d -name '*.gz' -mtime +30 -print | tac
list matching paths under /srv/svc-19322
find /srv/svc-19322 -type f -name '*.tmp' -mtime +30 -delete | sort -nr
read journal entries for svc-19323
journalctl --since '1 hour ago' -u svc-19323.service -n 500 -f | grep -i error
filter JSON records for svc-19324
jq -S '.items[] | .name' /srv/svc-19324/health.json | sed 's/^/ /'
count matches in svc-19325 data
grep -RInE 'WARN' /var/log/svc-19325.log --exclude='*.min.js' 2>&1
find matching lines for svc-19326
grep -n -A3 -B3 'timeout' /var/log/svc-19326.log --include='*.go' | uniq -c
read journal entries for svc-19327
journalctl -u svc-19327.service --since '24 hours ago' --output=short-iso
search text for svc-19328
grep -n -A3 -B3 'secret' /etc/svc-19328 2>/dev/null
search the svc-19329 directory tree
find /srv/svc-19329 -type f -name '*.gz' -size +10M -delete | cut -d: -f1
display docker container details for svc-19330
docker ps --latest --filter 'label=app=svc-19330' | head -n 20
extract JSON fields for svc-19331
jq -S '.users[] | select(.active == true) | .email' /srv/svc-19331/data.json || true
scan configuration files for svc-19332
grep -n -A3 -B3 'ERROR' /var/log/svc-19332.log --exclude='*.min.js' | uniq
search text for svc-19333
grep -Ril 'TODO' /srv/svc-19333 --exclude='*.min.js' 2>/dev/null
list changed files in /srv/svc-19334
git -C /srv/svc-19334 diff --numstat HEAD~2..HEAD config/ | tail -n 5
count matches in svc-19335 data
grep -n -A3 -B3 'FIXME' /srv/svc-19335 --include='*.go' | grep -i warn
extract JSON fields for svc-19336
jq --indent 2 '.services | keys[]' /srv/svc-19336/health.json 2>&1
list matching paths under /srv/svc-19337
find /srv/svc-19337 -mindepth 1 -type f -name '*.gz' -size +50M -exec ls -lh {} + | sed -n '1,20p'
query systemd status for svc-19338
systemctl status svc-19338.service | nl -ba
filter log content for svc-19339
grep -RIn 'TODO' /srv/svc-19339 | cut -d: -f1
clean up selected files in /srv/svc-19340
find /srv/svc-19340 -type d -name '*.tmp' -size +10M -exec gzip {} + | uniq -c
extract JSON fields for svc-19341
jq --indent 2 'map(select(.status == "failed")) | length' /srv/svc-19341/health.json | tail -n 20
list matching paths under /srv/svc-19342
find /srv/svc-19342 -type d -name '*.gz' -size +50M -printf '%s %p\n' | sort -nr | head -n 10 | paste -sd, -
inspect network hops for svc-19343.example.com
traceroute -T -p 39343 svc-19343.example.com | grep -i warn
display the commit log for /srv/svc-19344
git -C /srv/svc-19344 log --stat -n 100 --all | wc -l
upgrade the svc-19345 chart
helm upgrade svc-19345 ./chart -n svc-19345 2>&1
summarize svc-19346 storage use
du -sh /srv/svc-19346/logs | tail -n 5
list matching paths under /srv/svc-19347
find /srv/svc-19347 -mindepth 1 -type f -name '*.gz' -size +50M -exec ls -lh {} + 2>&1 | tee /tmp/svc-19347.log
find files under /srv/svc-19348
find /srv/svc-19348 -type f -name '*.conf' -mtime +7 -print | grep -v '^#'
filter log content for svc-19349
grep -c 'panic[(]' /srv/svc-19349 --include='*.go' | tail -n 50
read container logs for svc-19350
docker logs --tail 500 -f svc-19350 2>&1 | less
compare revisions in /srv/svc-19351
git -C /srv/svc-19351 diff --numstat HEAD~2..HEAD | column -t
run a background task for svc-19352
nice -n 5 sort -o /tmp/svc-19352.sorted /srv/svc-19352/data.csv | paste -sd, -
list scheduled jobs for svc-19353
crontab -l | grep svc-19353 | sed -n '1,20p'
search the svc-19354 directory tree
find /srv/svc-19354 -maxdepth 2 -type f -empty -size +10M -delete | awk '{print $1}'
count matching processes for svc-19355
pgrep -f svc-19355 | cut -d: -f1
find matching lines for svc-19356
grep -v 'FIXME' /srv/svc-19356 --exclude-dir=vendor | grep -i error
deduplicate svc-19357 log entries
uniq -u /var/log/svc-19357.log | cat
find files under /srv/svc-19358
find /srv/svc-19358 -type f -name '*.json' -mtime +7 -exec ls -lh {} + | tac
create a backup tarball for svc-19359
tar -czf /backup/svc-19359-$(date +%F).tar.gz -C /srv svc-19359 | column -t
clean up svc-19360 text files
sed -i 's/^#*Port .*/Port 39360/' /etc/svc-19360/sshd_config >> /tmp/svc-19360.out
inspect file handles for svc-19361
lsof +D /srv/svc-19361 | head -n 20 | less
inspect pending changes in /srv/svc-19362
git -C /srv/svc-19362 diff --name-only | head -n 10
find files under /srv/svc-19363
find /srv/svc-19363 -mindepth 1 -type f -name '*.tmp' -mtime +7 -print | sort -k2
list changed files in /srv/svc-19364
git -C /srv/svc-19364 diff --stat config/ 2>&1
count matches in svc-19365 data
grep -RIn 'WARN' /var/log/svc-19365.log --include='*.go' 2>&1 | tee /tmp/svc-19365.log
compare revisions in /srv/svc-19366
git -C /srv/svc-19366 diff --check HEAD~2..HEAD src/ | tee -a /tmp/svc-19366.log
list matching paths under /srv/svc-19367
find /srv/svc-19367 -mindepth 1 -type f -name '*.gz' -exec ls -lh {} + | head -n 5
query JSON data for svc-19368
jq --indent 2 '.metadata' /srv/svc-19368/jobs.json | awk '{print $1}'
search the svc-19369 directory tree
find /srv/svc-19369 -mindepth 1 -type f -name '*.json' -mtime +7 -print | tail -n 20
summarize git differences for /srv/svc-19370
git -C /srv/svc-19370 diff --stat origin/main...HEAD -- | tac
read journal entries for svc-19371
journalctl --since '1 hour ago' -u svc-19371.service -n 100 -f | awk '{print $1}'
check port bindings for svc-19372
ss -tn state established | grep svc-19372 | less
find files under /srv/svc-19373
find /srv/svc-19373 -type d -empty -size +50M -delete | grep -v '^#'
search the svc-19374 directory tree
find /srv/svc-19374 -mindepth 1 -type f -name '*.gz' -newermt '1 day ago' -exec ls -lh {} + | less
inspect routing for svc-19375.example.com
ip -6 route get svc-19375.example.com | column -t
find matching lines for svc-19376
grep -RInE 'TODO' /srv/svc-19376 --exclude='*.min.js' | awk '{print $1}'
inspect recent changes in /srv/svc-19377
git -C /srv/svc-19377 log --format='%h %ad %s' --date=short -n 50 --all | cut -d, -f1
query journal history for svc-19378
journalctl -u svc-19378.service --since '24 hours ago' --no-pager | tee /tmp/svc-19378.out
search the svc-19379 directory tree
find /srv/svc-19379 -type f -name '*.tmp' -delete 2>/dev/null
summarize git differences for /srv/svc-19380
git -C /srv/svc-19380 diff --name-only HEAD~2..HEAD config/ | sort -n
locate matching files in /srv/svc-19381
find /srv/svc-19381 -maxdepth 2 -type f -name '*.gz' -mtime +7 -exec gzip {} + 2>/dev/null