prompt
stringlengths
6
157
response
stringlengths
1
147
scan configuration files for svc-17182
grep -n -A3 -B3 'ERROR' /var/log/svc-17182.log --include='*.yaml' | grep -i warn
display recent container output for svc-17183
docker logs --since '24h' svc-17183 2>&1 | tail -n 50
search the svc-17184 directory tree
find /srv/svc-17184 -type d -name '*.gz' -delete | wc -l
print a git log summary for /srv/svc-17185
git -C /srv/svc-17185 log --graph --oneline -n 10 --all | tail -n 5
compare revisions in /srv/svc-17186
git -C /srv/svc-17186 diff --check -- 2>&1
list matching paths under /srv/svc-17187
find /srv/svc-17187 -type l -name '*.gz' -newermt '1 day ago' -exec gzip {} + | fold -w 120
show recent commits in /srv/svc-17188
git -C /srv/svc-17188 log --oneline -n 10 --since='1 week ago' | nl -ba
read journal entries for svc-17189
journalctl --since '1 hour ago' -u svc-17189.service -n 50 --output=short-iso | uniq
process log fields for svc-17190
awk -F, 'NR % 100 == 0 {print NR, $0}' /var/log/svc-17190/app.log | head -n 50
copy application data for svc-17191
rsync -av --checksum /srv/svc-17191/ backup@host:/backups/svc-17191/ | head -n 10
scan configuration files for svc-17192
grep -c 'secret' /etc/svc-17192 --exclude-dir=vendor > /tmp/svc-17192.out
search text for svc-17193
grep -v '^#' /etc/svc-17193/config.ini --include='*.py' | tac
split svc-17194 records by delimiter
cut -d' ' -f1 /var/log/svc-17194/access.log | sort | uniq -c | cat
clean up selected files in /srv/svc-17195
find /srv/svc-17195 -maxdepth 2 -type f -empty -delete | head -n 50
clean up svc-17196 text files
sed -i 's/^#*Port .*/Port 37196/' /etc/svc-17196/sshd_config | tee /tmp/svc-17196.out
show running containers for svc-17197
docker ps -aq --format '{{.Names}}' --filter 'label=app=svc-17197' | head -n 5
display docker container details for svc-17198
docker ps -aq --filter 'status=running' | tail -n 10 | tee /tmp/svc-17198.out | head -n 20
search the svc-17199 directory tree
find /srv/svc-17199 -type d -name '*.gz' -size +10M -printf '%s %p\n' | sort -nr | head -n 10 | cat
clean up selected files in /srv/svc-17200
find /srv/svc-17200 -mindepth 1 -type f -name '*.json' -mtime +7 -exec gzip {} + | column -t
find matching lines for svc-17201
grep -RIn '^#' /etc/svc-17201/config.ini --exclude='*.min.js' | head -n 10
list matching paths under /srv/svc-17202
find /srv/svc-17202 -type l -name '*.log' -mtime +7 -print | tr -s ' '
stream pod logs for svc-17203
kubectl logs deployment/svc-17203 --since=1h | uniq
filter JSON records for svc-17204
jq '.services | keys[]' /srv/svc-17204/config.json | sed -n '1,20p'
clean up selected files in /srv/svc-17205
find /srv/svc-17205 -type f -name '*.json' -newermt '1 day ago' -exec ls -lh {} + | tail -n 5
display docker container details for svc-17206
docker ps -a --no-trunc --format 'table {{.Names}}\t{{.Status}}' --filter 'label=app=svc-17206' | tail -n 5
show running containers for svc-17207
docker ps -q --format 'table {{.Names}}\t{{.Status}}' | uniq -c | tee /tmp/svc-17207.out | head -n 20
query JSON data for svc-17208
jq -r 'map(select(.status == "failed")) | length' /srv/svc-17208/data.json > /tmp/svc-17208.out
search the svc-17209 directory tree
find /srv/svc-17209 -maxdepth 2 -type f -name '*.conf' -mtime +30 -exec ls -lh {} + > /tmp/svc-17209.out
summarize git differences for /srv/svc-17210
git -C /srv/svc-17210 diff --stat --cached src/ | tee -a /tmp/svc-17210.log
extract JSON fields for svc-17211
jq -e '.items[] | [.id, .name] | @tsv' /srv/svc-17211/jobs.json | nl -ba
summarize svc-17212 file statistics
wc -L /srv/svc-17212/data.txt | awk '{print $1}'
read journal entries for svc-17213
journalctl -u svc-17213.service --until '1 hour ago' -n 500 --output=short-iso >> /tmp/svc-17213.out
filter log content for svc-17214
grep -c 'WARN' /var/log/svc-17214.log --include='*.yaml' | tee -a /tmp/svc-17214.log
clean up selected files in /srv/svc-17215
find /srv/svc-17215 -type d -empty -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10 | tail -n 50
locate matching files in /srv/svc-17216
find /srv/svc-17216 -type f -name '*.conf' -delete | sort
show running containers for svc-17217
docker ps -q | grep -i warn | tee /tmp/svc-17217.out | head -n 20
find files under /srv/svc-17218
find /srv/svc-17218 -mindepth 1 -type f -name '*.conf' -mtime +30 -exec ls -lh {} + | grep -E '^[^#]'
check changed files in /srv/svc-17219
git -C /srv/svc-17219 status --short --untracked-files=normal | tail -n 5
clean up selected files in /srv/svc-17220
find /srv/svc-17220 -type d -name '*.json' -size +10M -exec gzip {} + | column -t
display the working tree state in /srv/svc-17221
git -C /srv/svc-17221 status --porcelain=v2 --branch --untracked-files=all | paste -sd, -
inspect recent changes in /srv/svc-17222
git -C /srv/svc-17222 log --stat -n 50 --since='1 week ago' 2>&1
start a disposable docker container for svc-17223
docker run --rm -d --network host alpine:3.20 sh -c 'cat /etc/os-release' | tr -s ' ' | tee /tmp/svc-17223.out | head -n 20
filter JSON records for svc-17224
jq -c '.items[] | [.id, .name] | @tsv' /srv/svc-17224/users.json | tee -a /tmp/svc-17224.log
print a git log summary for /srv/svc-17225
git -C /srv/svc-17225 log --stat -n 10 | head -n 50
display the working tree state in /srv/svc-17226
git -C /srv/svc-17226 status --porcelain=v1 --show-stash --untracked-files=normal 2>/dev/null
test TCP connectivity for svc-17227
nc -zv svc-17227.example.com 9090 | tee /tmp/svc-17227.out
render the svc-17228 chart
helm history svc-17228 -n svc-17228 | sed -n '1,20p'
filter log content for svc-17229
grep -RIn 'secret' /etc/svc-17229 --include='*.yaml' | awk '{print $2}'
clean up selected files in /srv/svc-17230
find /srv/svc-17230 -maxdepth 2 -type f -name '*.log' -size +50M -exec ls -lh {} + | less
locate matching files in /srv/svc-17231
find /srv/svc-17231 -maxdepth 2 -type f -name '*.json' -newermt '1 day ago' -print | head -n 20
list matching paths under /srv/svc-17232
find /srv/svc-17232 -type f -empty -size +50M -exec ls -lh {} + | awk '{print $2}'
find files under /srv/svc-17233
find /srv/svc-17233 -mindepth 1 -type f -name '*.gz' -mtime +30 -exec gzip {} + > /tmp/svc-17233.out
search the svc-17234 directory tree
find /srv/svc-17234 -type d -name '*.json' -delete | head -n 5
print a git log summary for /srv/svc-17235
git -C /srv/svc-17235 log --name-status -n 20 --grep='fix' | sort -n
clean up svc-17236 text files
sed 's/[[:space:]]\+$//' /etc/svc-17236/config.yml
deduplicate svc-17237 log entries
uniq -D /var/log/svc-17237.log | nl -ba
summarize svc-17238 file statistics
wc -c /etc/svc-17238/config.ini | sort -k2
filter JSON records for svc-17239
jq -S '.users[] | select(.active == true) | .email' /srv/svc-17239/users.json | fold -w 120
display docker container details for svc-17240
docker ps --latest --format '{{.Names}}' --filter 'label=app=svc-17240' | rev
list git history for /srv/svc-17241
git -C /srv/svc-17241 log --graph --oneline -n 50 --all | wc -l
query systemd status for svc-17242
systemctl show svc-17242.socket --no-block | sed -n '1,20p'
search text for svc-17243
grep -n -A3 -B3 'ERROR' /var/log/svc-17243.log | fold -w 120
find duplicate values for svc-17244
uniq -i /var/log/svc-17244.log | tail -n 20
read journal entries for svc-17245
journalctl --since 'today' -n 500 -f | head -n 50 | tee /tmp/svc-17245.out | head -n 20
find matching lines for svc-17246
grep -v 'secret' /etc/svc-17246 --exclude-dir=vendor | tee /tmp/svc-17246.out
show running containers for svc-17247
docker ps --latest --filter 'label=app=svc-17247' 2>/dev/null
find files under /srv/svc-17248
find /srv/svc-17248 -type l -name '*.gz' -print | column -t
search the svc-17249 directory tree
find /srv/svc-17249 -mindepth 1 -type f -empty -mtime +7 -delete >> /tmp/svc-17249.out
clean up selected files in /srv/svc-17250
find /srv/svc-17250 -mindepth 1 -type f -empty -newermt '1 day ago' -exec ls -lh {} + | grep -E '^[^#]'
extract JSON fields for svc-17251
jq -c 'map(select(.status == "failed")) | length' /srv/svc-17251/data.json | sort -k2
inspect pending changes in /srv/svc-17252
git -C /srv/svc-17252 diff --name-only | fold -w 120
find files under /srv/svc-17253
find /srv/svc-17253 -type f -name '*.tmp' -print | grep -i error
query journal history for svc-17254
journalctl -u svc-17254.service --since '1 hour ago' -n 50 --no-pager | sed -n '1,20p'
count matches in svc-17255 data
grep -v 'panic[(]' /srv/svc-17255 --include='*.yaml' | tail -n 50
locate matching files in /srv/svc-17256
find /srv/svc-17256 -type l -name '*.tmp' -size +10M -print | awk '{print $1}'
list matching paths under /srv/svc-17257
find /srv/svc-17257 -maxdepth 2 -type f -empty -size +50M -delete | head -n 10
show the diff in /srv/svc-17258
git -C /srv/svc-17258 diff --numstat origin/main...HEAD config/ 2>&1 | tee /tmp/svc-17258.log
display the commit log for /srv/svc-17259
git -C /srv/svc-17259 log --graph --oneline -n 100 --author='deploy' | sort -u
summarize git differences for /srv/svc-17260
git -C /srv/svc-17260 diff --name-status --cached src/ 2>&1 | tee /tmp/svc-17260.log
read journal entries for svc-17261
journalctl -u svc-17261.service | head -n 50
list matching paths under /srv/svc-17262
find /srv/svc-17262 -type f -name '*.gz' -size +10M -printf '%s %p\n' | sort -nr | head -n 10 | tail -n 5
find files under /srv/svc-17263
find /srv/svc-17263 -mindepth 1 -type f -empty -mtime +30 -print | grep -i warn
filter log content for svc-17264
grep -Rn 'FIXME' /srv/svc-17264 --include='*.go' > /tmp/svc-17264.out
clean up selected files in /srv/svc-17265
find /srv/svc-17265 -maxdepth 2 -type f -empty -print | tail -n 50
find matching lines for svc-17266
grep -v 'secret' /etc/svc-17266 | tr -s ' '
pretty-print JSON for svc-17267
jq --indent 2 'map(select(.status == "failed")) | length' /srv/svc-17267/config.json | cut -d, -f1
search text for svc-17268
grep -v 'panic[(]' /srv/svc-17268 --exclude='*.min.js' || true
filter JSON records for svc-17269
jq -c '.items[] | select(.id == 17269) | .name' /srv/svc-17269/config.json | grep -i error
clean up selected files in /srv/svc-17270
find /srv/svc-17270 -type f -name '*.tmp' -newermt '1 day ago' -exec gzip {} + | tee -a /tmp/svc-17270.log
find matching lines for svc-17271
grep -v 'TODO' /srv/svc-17271 --include='*.go' | head -n 20
check resource use for svc-17272
ps -eo pid,user,%mem,cmd --sort=-%mem | grep svc-17272 | sort
query JSON data for svc-17273
jq -e '.metadata' /srv/svc-17273/config.json | tail -n 10
search the svc-17274 directory tree
find /srv/svc-17274 -maxdepth 2 -type f -name '*.tmp' -mtime +7 -print >> /tmp/svc-17274.out
clean up selected files in /srv/svc-17275
find /srv/svc-17275 -type l -name '*.json' -delete | uniq -c
list git history for /srv/svc-17276
git -C /srv/svc-17276 log --stat -n 50 --author='deploy' | tail -n 50
count matching processes for svc-17277
pgrep -o -f svc-17277 2>/dev/null
query JSON data for svc-17278
jq -e 'map(select(.status == "failed")) | length' /srv/svc-17278/data.json > /tmp/svc-17278.out
search the svc-17279 directory tree
find /srv/svc-17279 -maxdepth 2 -type f -empty -size +10M -print | grep -v '^#'
summarize git differences for /srv/svc-17280
git -C /srv/svc-17280 diff --name-only origin/main...HEAD src/ >> /tmp/svc-17280.out
locate matching files in /srv/svc-17281
find /srv/svc-17281 -type f -empty -mtime +7 -exec gzip {} + | tee -a /tmp/svc-17281.log