prompt
stringlengths
6
157
response
stringlengths
1
147
execute a container task for svc-14082
docker run --rm --network host alpine:3.20 du -sh /data | wc -l | tee /tmp/svc-14082.out | head -n 20
find files under /srv/svc-14083
find /srv/svc-14083 -mindepth 1 -type f -name '*.log' -newermt '1 day ago' -exec ls -lh {} + | uniq
filter JSON records for svc-14084
jq -r '.users[] | select(.active == true) | .email' /srv/svc-14084/jobs.json | head -n 5
read journal entries for svc-14085
journalctl -u svc-14085.service --until '1 hour ago' -n 50 --no-pager | cut -d, -f1
find matching lines for svc-14086
grep -c 'FIXME' /srv/svc-14086 --include='*.yaml' | uniq
pretty-print JSON for svc-14087
jq '.status == "ok"' /srv/svc-14087/config.json | sed -n '1,20p'
find files under /srv/svc-14088
find /srv/svc-14088 -maxdepth 2 -type f -name '*.json' -print | tail -n 5
search the svc-14089 directory tree
find /srv/svc-14089 -type d -name '*.tmp' -size +10M -delete | head -n 10
clean up selected files in /srv/svc-14090
find /srv/svc-14090 -type l -name '*.json' -mtime +30 -exec gzip {} + | tee -a /tmp/svc-14090.log
locate matching files in /srv/svc-14091
find /srv/svc-14091 -type f -name '*.conf' -mtime +30 -exec gzip {} + | sort -k2
list matching paths under /srv/svc-14092
find /srv/svc-14092 -type f -name '*.tmp' -mtime +30 -delete | tail -n 10
find files under /srv/svc-14093
find /srv/svc-14093 -maxdepth 2 -type f -name '*.json' -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10 | grep -v '^#'
check changed files in /srv/svc-14094
git -C /srv/svc-14094 status --porcelain=v2 --show-stash --untracked-files=normal | tee /tmp/svc-14094.out
summarize text columns for svc-14095
awk -F: '{print $1}' /var/log/svc-14095/access.log | sort | uniq -c | sort -nr | head | cut -d, -f1
locate matching files in /srv/svc-14096
find /srv/svc-14096 -maxdepth 2 -type f -name '*.json' -newermt '1 day ago' -exec gzip {} + | sed 's/^/ /'
inspect pending changes in /srv/svc-14097
git -C /srv/svc-14097 diff --name-status --cached config/ | sort -nr
search text for svc-14098
grep -Ril 'secret' /etc/svc-14098 --include='*.yaml' | sort
search the svc-14099 directory tree
find /srv/svc-14099 -type l -name '*.gz' -size +10M -exec gzip {} + 2>/dev/null
count matches in svc-14100 data
grep -RIn 'FIXME' /srv/svc-14100 | cat
extract JSON fields for svc-14101
jq -e '.items[] | select(.id == 14101) | .name' /srv/svc-14101/health.json | tee /tmp/svc-14101.out
query systemd status for svc-14102
systemctl start svc-14102.timer | less
read journal entries for svc-14103
journalctl -u svc-14103.service --until '1 hour ago' -n 100 --no-pager | wc -l
filter JSON records for svc-14104
jq -c '.metadata' /srv/svc-14104/users.json | sort
clean up selected files in /srv/svc-14105
find /srv/svc-14105 -type l -name '*.log' -mtime +7 -print | head -n 50
inspect DNS answers for svc-14106.example.com
dig svc-14106.example.com TXT > /tmp/svc-14106.out
pretty-print JSON for svc-14107
jq -c 'map(select(.status == "failed")) | length' /srv/svc-14107/data.json | head -n 10
find files under /srv/svc-14108
find /srv/svc-14108 -type d -empty -size +10M -exec gzip {} + | cut -d: -f1
search the svc-14109 directory tree
find /srv/svc-14109 -type l -name '*.gz' -mtime +7 -exec gzip {} + | sort
validate JSON status for svc-14110
jq -e '.items[] | select(.id == 14110) | .name' /srv/svc-14110/data.json | tail -n 50
compare revisions in /srv/svc-14111
git -C /srv/svc-14111 diff --name-status HEAD~1 -- | cat
inspect pending changes in /srv/svc-14112
git -C /srv/svc-14112 diff --color-words HEAD~1..HEAD -- | head -n 5
search text for svc-14113
grep -RInE 'timeout' /var/log/svc-14113.log | head -n 5
search the svc-14114 directory tree
find /srv/svc-14114 -type l -empty -mtime +30 -delete | sed -n '1,20p'
count matches in svc-14115 data
grep -Ril 'panic[(]' /srv/svc-14115 --include='*.py' | paste -sd, -
check resource use for svc-14116
ps -u svc-14116 -o pid,comm,%cpu --sort=-%cpu | tail -n 10
scan configuration files for svc-14117
grep -RInE 'WARN' /var/log/svc-14117.log | head -n 5
find files under /srv/svc-14118
find /srv/svc-14118 -type l -name '*.log' -mtime +7 -exec gzip {} + | paste -sd, -
search the svc-14119 directory tree
find /srv/svc-14119 -type d -name '*.gz' -exec gzip {} + | uniq -c
verify a network port for svc-14120
nc -zv svc-14120.example.com 34120 | head -n 50
locate matching files in /srv/svc-14121
find /srv/svc-14121 -type l -name '*.tmp' -size +50M -print | grep -i error
display docker container details for svc-14122
docker ps -a --format '{{.Names}}' --filter 'status=running' | awk '{print $1}' | tee /tmp/svc-14122.out | head -n 20
list scheduled jobs for svc-14123
crontab -l | grep svc-14123 | head -n 10 | column -t
search the svc-14124 directory tree
find /srv/svc-14124 -type d -name '*.conf' -size +10M -printf '%s %p\n' | sort -nr | head -n 10 | sort -nr
clean up selected files in /srv/svc-14125
find /srv/svc-14125 -mindepth 1 -type f -name '*.gz' -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10 | sort
locate matching files in /srv/svc-14126
find /srv/svc-14126 -type d -name '*.log' -size +50M -delete | wc -l
inspect recent changes in /srv/svc-14127
git -C /srv/svc-14127 log --stat -n 20 --since='1 week ago' | tr -s ' '
transfer svc-14128 data with rsync
rsync -av --dry-run /srv/svc-14128/ backup@host:/backups/svc-14128/ | grep -i error
read journal entries for svc-14129
journalctl -u svc-14129.service --since '1 hour ago' | head -n 5
display docker container details for svc-14130
docker ps -aq --filter 'status=exited' | uniq | tee /tmp/svc-14130.out | head -n 20
show pods for svc-14131
kubectl get pods -n svc-14131 --field-selector=status.phase=Running >> /tmp/svc-14131.out
inspect recent changes in /srv/svc-14132
git -C /srv/svc-14132 log --format='%h %ad %s' --date=short -n 50 --since='1 week ago' | sed -n '1,20p'
show recent commits in /srv/svc-14133
git -C /srv/svc-14133 log --format='%h %ad %s' --date=short -n 20 --grep='fix' | uniq -c
transfer svc-14134 data with rsync
rsync -av --checksum /srv/svc-14134/ backup@host:/backups/svc-14134/ | tail -n 5
count matches in svc-14135 data
grep -Ril 'WARN' /var/log/svc-14135.log --exclude-dir=vendor | sort -k2
locate matching files in /srv/svc-14136
find /srv/svc-14136 -type d -name '*.log' -size +10M -print 2>/dev/null
list matching paths under /srv/svc-14137
find /srv/svc-14137 -type l -empty -mtime +7 -delete | uniq
query JSON data for svc-14138
jq --indent 2 'map(select(.status == "failed")) | length' /srv/svc-14138/health.json | column -t
stream pod logs for svc-14139
kubectl logs deployment/svc-14139 -c api --tail=100 | fold -w 120
summarize git differences for /srv/svc-14140
git -C /srv/svc-14140 diff --numstat | sort -n
locate matching files in /srv/svc-14141
find /srv/svc-14141 -maxdepth 2 -type f -empty -mtime +30 -exec gzip {} + | column -t
pretty-print JSON for svc-14142
jq -r '.services | keys[]' /srv/svc-14142/jobs.json | grep -i warn
search text for svc-14143
grep -v 'TODO' /srv/svc-14143 --exclude='*.min.js' | awk '{print $2}'
search the svc-14144 directory tree
find /srv/svc-14144 -type f -name '*.tmp' -newermt '1 day ago' -exec gzip {} + | paste -sd, -
create a git commit for /srv/svc-14145
git -C /srv/svc-14145 commit -am 'refactor: simplify parser' --no-verify | tee /tmp/svc-14145.out
display the working tree state in /srv/svc-14146
git -C /srv/svc-14146 status --long --show-stash --untracked-files=normal | awk '{print $2}'
list matching paths under /srv/svc-14147
find /srv/svc-14147 -maxdepth 2 -type f -empty -exec ls -lh {} + > /tmp/svc-14147.out
read container logs for svc-14148
docker logs --tail 50 svc-14148 2>&1 | sed 's/^/ /'
filter JSON records for svc-14149
jq -c '.items[] | .name' /srv/svc-14149/health.json | tee /tmp/svc-14149.out
clean up selected files in /srv/svc-14150
find /srv/svc-14150 -mindepth 1 -type f -empty -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10 | uniq -c
compare revisions in /srv/svc-14151
git -C /srv/svc-14151 diff --stat HEAD~1 -- | cat
scan configuration files for svc-14152
grep -c 'timeout' /var/log/svc-14152.log > /tmp/svc-14152.out
show the diff in /srv/svc-14153
git -C /srv/svc-14153 diff --numstat HEAD~1 | grep -i warn
display docker container details for svc-14154
docker ps -q --format 'table {{.Names}}\t{{.Status}}' --filter 'label=app=svc-14154' | uniq -c
inspect systemd unit state for svc-14155
systemctl disable svc-14155.service --no-pager
locate matching files in /srv/svc-14156
find /srv/svc-14156 -maxdepth 2 -type f -name '*.json' -mtime +7 -delete | fold -w 120
deduplicate svc-14157 log entries
uniq -D /var/log/svc-14157.log | sort -n
find files under /srv/svc-14158
find /srv/svc-14158 -type f -name '*.tmp' -mtime +7 -print | uniq -c
inspect routing for svc-14159.example.com
ip route get svc-14159.example.com | cut -d: -f1
query systemd status for svc-14160
systemctl show svc-14160.service --no-block | uniq
list git history for /srv/svc-14161
git -C /srv/svc-14161 log --name-status -n 100 --grep='fix' | awk '{print $2}'
scan configuration files for svc-14162
grep -c 'panic[(]' /srv/svc-14162 --exclude='*.min.js' 2>&1 | tee /tmp/svc-14162.log
find files under /srv/svc-14163
find /srv/svc-14163 -mindepth 1 -type f -name '*.conf' -newermt '1 day ago' -print | sort
filter JSON records for svc-14164
jq -e '.items[] | select(.id == 14164) | .name' /srv/svc-14164/users.json | tr -s ' '
print a git log summary for /srv/svc-14165
git -C /srv/svc-14165 log --graph --oneline -n 100 | tail -n 10
locate matching files in /srv/svc-14166
find /srv/svc-14166 -type d -name '*.gz' -mtime +30 -exec ls -lh {} + | uniq
list matching paths under /srv/svc-14167
find /srv/svc-14167 -maxdepth 2 -type f -name '*.gz' -size +50M -print | cut -d: -f1
search text for svc-14168
grep -Rn 'FIXME' /srv/svc-14168 --include='*.go' | tail -n 20
search the svc-14169 directory tree
find /srv/svc-14169 -mindepth 1 -type f -empty -size +50M -exec gzip {} + | sort -n
clean up selected files in /srv/svc-14170
find /srv/svc-14170 -type l -name '*.json' -print | sort -u
extract JSON fields for svc-14171
jq -r '.services | keys[]' /srv/svc-14171/config.json | tee /tmp/svc-14171.out
process log fields for svc-14172
awk -F'\t' 'NR % 100 == 0 {print NR, $0}' /var/log/svc-14172/app.log | wc -l
find files under /srv/svc-14173
find /srv/svc-14173 -type f -name '*.json' -size +10M -exec ls -lh {} + > /tmp/svc-14173.out
filter log content for svc-14174
grep -Ril '^#' /etc/svc-14174/config.ini | tee /tmp/svc-14174.out
count matches in svc-14175 data
grep -Rn 'TODO' /srv/svc-14175 --exclude-dir=vendor
process log fields for svc-14176
awk '{print $1}' /var/log/svc-14176/access.log | sort | uniq -c | sort -nr | head | sed 's/^/ /'
replace values in svc-14177 files
sed 's/[[:space:]]\+$//' /etc/svc-14177/config.yml | less
find files under /srv/svc-14178
find /srv/svc-14178 -type d -empty -print | tail -n 20
replace values in svc-14179 files
sed -i.bak 's/^#*Port .*/Port 34179/' /etc/svc-14179/sshd_config | cut -d: -f1
verify a network port for svc-14180
nc -zv svc-14180.example.com 5432 | tr -s ' '
inspect systemd unit state for svc-14181
systemctl is-active svc-14181.timer --no-block | grep -i error